Maven SCM
  1. Maven SCM
  2. SCM-480

"mvn scm:status" doesn't show modified file

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: maven-scm-provider-svn
    • Labels:
      None
    • Environment:
      OS X 10.5.7
      JDK 1.5
      Maven 2.1.0
      SVN 1.6.2
    • Complexity:
      Intermediate
    • Number of attachments :
      1

      Description

      "svn status" gives
      M src/main/java/de/artive/test/FooBar.java

      "mvn scm:status" gives
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'scm'.
      [INFO] ------------------------------------------------------------------------
      [INFO] Building test-build
      [INFO] task-segment: [scm:status] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      [INFO] [scm:status]
      [INFO] Executing: /bin/sh -c cd /Users/vivo/workspaces/eclipse-3.4/test-build && svn --username vivo --password '*****' --non-interactive status
      [INFO] Working directory: /Users/vivo/workspaces/eclipse-3.4/test-build
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 seconds
      [INFO] Finished at: Fri Jun 26 13:01:04 CEST 2009
      [INFO] Final Memory: 15M/29M
      [INFO] ------------------------------------------------------------------------

      The changed file is not shown.

      This wouldn't be that bad, if the the release plugin therefore would not recognize that there still is a modified file in the workspace

        Issue Links

          Activity

          Hide
          Mark Struberg added a comment -

          Victor, I guess Brett meant you should simply attach the changes you commented in textual form as a patch to Jira

          Show
          Mark Struberg added a comment - Victor, I guess Brett meant you should simply attach the changes you commented in textual form as a patch to Jira
          Hide
          Victor Volle added a comment -

          Added the primitive patch that we are using for some months.
          Works with Subversion clients 1.5 and 1.6 (couldn't test 1.4).

          This is not the patch I proposed (using a matcher). For that I really would need a "specification" of the SVN client ouput and much more time.
          But the fix should solve the most pressing issue.

          Show
          Victor Volle added a comment - Added the primitive patch that we are using for some months. Works with Subversion clients 1.5 and 1.6 (couldn't test 1.4). This is not the patch I proposed (using a matcher). For that I really would need a "specification" of the SVN client ouput and much more time. But the fix should solve the most pressing issue.
          Hide
          Nick Stolwijk added a comment -

          The specifications of the output format are found in the SVN repository.

          http://svn.collab.net/repos/svn/tags/1.6.0/subversion/svn/schema/

          Show
          Nick Stolwijk added a comment - The specifications of the output format are found in the SVN repository. http://svn.collab.net/repos/svn/tags/1.6.0/subversion/svn/schema/
          Hide
          Matteo Collina added a comment -

          Is the specified patch applied in the latest snapshot?
          Right now mvn scm:status returns nothing.

          Show
          Matteo Collina added a comment - Is the specified patch applied in the latest snapshot? Right now mvn scm:status returns nothing.
          Hide
          Mark Struberg added a comment -

          thanks Victor!

          applied in Revision 881560.

          Show
          Mark Struberg added a comment - thanks Victor! applied in Revision 881560.

            People

            • Assignee:
              Mark Struberg
              Reporter:
              Victor Volle
            • Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: