You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Roger Pack (JIRA)" <ji...@codehaus.org> on 2009/10/20 01:23:27 UTC

[jira] Created: (MREACTOR-15) mvn reactor:make-scm-changes doesn't work in windows with subversion

mvn reactor:make-scm-changes doesn't work in windows with subversion
--------------------------------------------------------------------

                 Key: MREACTOR-15
                 URL: http://jira.codehaus.org/browse/MREACTOR-15
             Project: Maven 2.x Reactor Plugin
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: windows xp, subversion 1.6.2 command line
            Reporter: Roger Pack
            Priority: Minor


In my project, if I update a file, call it

root
  /updatemigrationdb
      pom.xml

If I update pom.xml and have uncommitted changes there, in linux I get

[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Migration updatemigrationdb ........................... SUCCESS [3.741s]
[INFO] Migration TapeWriter .................................. SUCCESS [4.361s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Oct 19 17:22:49 MDT 2009
[INFO] Final Memory: 43M/731M
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL

however, on windows I get

C:\dev\trunk>mvn reactor:make-scm-changes
...
[INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
[INFO] Working directory: C:\dev\trunk
[INFO] Going to make dependents for:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] No folders matched:
...

The output of said command line is
C:\dev\trunk>cmd /X /C "svn --non-interactive status"
M       pom.xml
M       updatemigrationdb\pom.xml
(i.e. ?       cmd.exe\nM       pom.xml\nM       updatemigrationdb\\pom.xml\n")

Thanks!
-r

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MREACTOR-15) mvn reactor:make-scm-changes doesn't work in windows with subversion

Posted by "Christoph Kutzinski (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MREACTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258311#action_258311 ] 

Christoph Kutzinski commented on MREACTOR-15:
---------------------------------------------

I've got the same problem on Linux + SVN
I could fix it by specifiying the new dependencies for the plugin as in the patch.

Could please someone release a new version with the fix as probably a lot of people are affected by this problem?

> mvn reactor:make-scm-changes doesn't work in windows with subversion
> --------------------------------------------------------------------
>
>                 Key: MREACTOR-15
>                 URL: http://jira.codehaus.org/browse/MREACTOR-15
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: windows xp, subversion 1.6.2 command line
>            Reporter: Roger Pack
>            Priority: Minor
>         Attachments: patch.txt
>
>
> In my project, if I update a file, call it
> root
>   /updatemigrationdb
>       pom.xml
> If I update pom.xml and have uncommitted changes there, in linux I get
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Migration updatemigrationdb ........................... SUCCESS [3.741s]
> [INFO] Migration TapeWriter .................................. SUCCESS [4.361s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Mon Oct 19 17:22:49 MDT 2009
> [INFO] Final Memory: 43M/731M
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> however, on windows I get
> C:\dev\trunk>mvn reactor:make-scm-changes
> ...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: C:\dev\trunk
> [INFO] Going to make dependents for:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] No folders matched:
> ...
> The output of said command line is
> C:\dev\trunk>cmd /X /C "svn --non-interactive status"
> M       pom.xml
> M       updatemigrationdb\pom.xml
> (i.e. ?       cmd.exe\nM       pom.xml\nM       updatemigrationdb\\pom.xml\n")
> Thanks!
> -r

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MREACTOR-15) mvn reactor:make-scm-changes doesn't work in windows with subversion

Posted by "Chris Wewerka (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MREACTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Wewerka updated MREACTOR-15:
----------------------------------

    Attachment: patch.txt

The cause of this problem is that the Maven SCM RepoManager returns an empty list of changed files. This can be fixed by using the newest maven scm components. See the attached patch file.

> mvn reactor:make-scm-changes doesn't work in windows with subversion
> --------------------------------------------------------------------
>
>                 Key: MREACTOR-15
>                 URL: http://jira.codehaus.org/browse/MREACTOR-15
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: windows xp, subversion 1.6.2 command line
>            Reporter: Roger Pack
>            Priority: Minor
>         Attachments: patch.txt
>
>
> In my project, if I update a file, call it
> root
>   /updatemigrationdb
>       pom.xml
> If I update pom.xml and have uncommitted changes there, in linux I get
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Migration updatemigrationdb ........................... SUCCESS [3.741s]
> [INFO] Migration TapeWriter .................................. SUCCESS [4.361s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Mon Oct 19 17:22:49 MDT 2009
> [INFO] Final Memory: 43M/731M
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> however, on windows I get
> C:\dev\trunk>mvn reactor:make-scm-changes
> ...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: C:\dev\trunk
> [INFO] Going to make dependents for:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] No folders matched:
> ...
> The output of said command line is
> C:\dev\trunk>cmd /X /C "svn --non-interactive status"
> M       pom.xml
> M       updatemigrationdb\pom.xml
> (i.e. ?       cmd.exe\nM       pom.xml\nM       updatemigrationdb\\pom.xml\n")
> Thanks!
> -r

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MREACTOR-15) mvn reactor:make-scm-changes doesn't work in windows with subversion

Posted by "Chris Wewerka (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MREACTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219878#action_219878 ] 

Chris Wewerka commented on MREACTOR-15:
---------------------------------------

Another hint: don't use cygwin on windows for this, it only works with cmd.exe

> mvn reactor:make-scm-changes doesn't work in windows with subversion
> --------------------------------------------------------------------
>
>                 Key: MREACTOR-15
>                 URL: http://jira.codehaus.org/browse/MREACTOR-15
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: windows xp, subversion 1.6.2 command line
>            Reporter: Roger Pack
>            Priority: Minor
>         Attachments: patch.txt
>
>
> In my project, if I update a file, call it
> root
>   /updatemigrationdb
>       pom.xml
> If I update pom.xml and have uncommitted changes there, in linux I get
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Migration updatemigrationdb ........................... SUCCESS [3.741s]
> [INFO] Migration TapeWriter .................................. SUCCESS [4.361s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Mon Oct 19 17:22:49 MDT 2009
> [INFO] Final Memory: 43M/731M
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> however, on windows I get
> C:\dev\trunk>mvn reactor:make-scm-changes
> ...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: C:\dev\trunk
> [INFO] Going to make dependents for:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] No folders matched:
> ...
> The output of said command line is
> C:\dev\trunk>cmd /X /C "svn --non-interactive status"
> M       pom.xml
> M       updatemigrationdb\pom.xml
> (i.e. ?       cmd.exe\nM       pom.xml\nM       updatemigrationdb\\pom.xml\n")
> Thanks!
> -r

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MREACTOR-15) mvn reactor:make-scm-changes doesn't work in windows with subversion

Posted by "Christoph Kutzinski (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MREACTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259292#action_259292 ] 

Christoph Kutzinski commented on MREACTOR-15:
---------------------------------------------

BTW: this is in no means a 'minor' problem for me. I would categorize it as a blocker. Unfortunately, I cannot change the priority of this issue.

> mvn reactor:make-scm-changes doesn't work in windows with subversion
> --------------------------------------------------------------------
>
>                 Key: MREACTOR-15
>                 URL: http://jira.codehaus.org/browse/MREACTOR-15
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: windows xp, subversion 1.6.2 command line
>            Reporter: Roger Pack
>            Priority: Minor
>         Attachments: patch.txt
>
>
> In my project, if I update a file, call it
> root
>   /updatemigrationdb
>       pom.xml
> If I update pom.xml and have uncommitted changes there, in linux I get
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] Migration updatemigrationdb ........................... SUCCESS [3.741s]
> [INFO] Migration TapeWriter .................................. SUCCESS [4.361s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Mon Oct 19 17:22:49 MDT 2009
> [INFO] Final Memory: 43M/731M
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> however, on windows I get
> C:\dev\trunk>mvn reactor:make-scm-changes
> ...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: C:\dev\trunk
> [INFO] Going to make dependents for:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] No folders matched:
> ...
> The output of said command line is
> C:\dev\trunk>cmd /X /C "svn --non-interactive status"
> M       pom.xml
> M       updatemigrationdb\pom.xml
> (i.e. ?       cmd.exe\nM       pom.xml\nM       updatemigrationdb\\pom.xml\n")
> Thanks!
> -r

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira