Maven 2.x Reactor Plugin

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

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    windows xp, subversion 1.6.2 command line
  • Number of attachments :
    1

Description

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

Activity

Hide
Chris Wewerka added a comment -

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.

Show
Chris Wewerka added a comment - 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.
Hide
Chris Wewerka added a comment -

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

Show
Chris Wewerka added a comment - Another hint: don't use cygwin on windows for this, it only works with cmd.exe
Hide
Christoph Kutzinski added a comment -

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?

Show
Christoph Kutzinski added a comment - 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?
Hide
Christoph Kutzinski added a comment -

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.

Show
Christoph Kutzinski added a comment - 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.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: