You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by devsgo <de...@free.fr> on 2010/07/15 15:20:55 UTC
Maven release plugin (2.0) - mvn:rollback on flat multi-modules structure
Hi,
I have a flat project layout, with one parent(parent-flat) and two
modules (module1-flat and module2-flat).
In my parent's pom, I have :
<modules>
<module>../module1-flat</module>
<module>../module2-flat</module>
</modules>
+ scm connection
For each modules, I just have :
<parent>
<artifactId>parent-flat</artifactId>
<groupId>mygroupid</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>module1-flat</artifactId>
My SVN structure looks like this :
- branches
- tags
- trunk
|-flat-multimodules
|- module1-flat
|- module2-flat
|- parent-flat
To make a release, I have to do mvn release:prepare
-DcommitByProject=true (if I ommit commitByProject, it doesn't work)
Then a mvn:release perform
I obtain in SVN :
- branches
- tags
|-parent-flat-0.0.1
|- module1-flat
|- module2-flat
|- parent-flat
- trunk
|-flat-multimodules
|- module1-flat
|- module2-flat
|- parent-flat
If I want to do a mvn release:rollback, I have the following error message :
ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: '/workspace' is not a working copy
I tried to add -DcommitByProject=true, but the result is the same.
Have you an idea to solve this problem ?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org