|
I actually always had the impression that multiprojects encourage that a directory structure like the one outlined above is chosen. I was therefor very surprised to find out that maven release does not support it. How am I supposed to have my directory structure to be able to actually perform a release? For me this is a critical blocker, please fix. Regards How about using the option -DcommitByProject=true ? the 'commitByProject' option only affects commit, not tagging. i designing just now the company-wide maven approach (we'll be using both Idea and Eclipse): this bug is really annoying - fix greatly appreciated. Regards I am facing the same problem. Did some work on this, please have a look at the two attached patches. Here's what they do (in addition to bumping up the version to 1.1-SNAPSHOT, which probably isn't that great - but it works to tell them apart from the official version): maven-release-plugin-flat.patch
maven-release-manager-flat.patch
You can run this like this: master> mvn -DcommitByProject=true release:prepare master> mvn -DcommitByProject=true release:perform The tag patch currently expects a SCM management layout like this - tested with SVN: /project
+trunk
+master
+module-a
+module-b
+tags
+foo-1.0
+master
+module-a
+module-b
I have implemented it like this since it reflects our current environment. To use a different layout, I would recommed playing around with the code in ScmTagPhase.java. Maybe another parameter could be added to specify the SCM layout to use. Hope this helps some of you. Fixed in trunk 778088. See |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I've got the same problem. Real blocker for our project.