Looks like https://jira.codehaus.org/browse/MRELEASE-571
I have an idea how to fix this for Maven3 and if that works it'll be part
of 2.4
-Robert
Op Wed, 16 May 2012 19:05:14 +0200 schreef Stephane Nicoll
<stephane.nic...@gmail.com>:
Hi,
Is it me or it is not possible to add extra modules with the release
plugin
?
My use case is simple, I have a multi-modules project[1] that builds 3
modules by default (A,B,C) and a "dist" profile adds an extra fourth
project (D). When I release this project, I want to build A,B,C,D at both
stage of course (because if the perform fail, I don't want it to commit
the
tag.
So I used <arguments>-Pdist</arguments>
I can see that the 4 projects are being build but the pom of D is not
updated (version, etc). As a result the prepare work, the release works
but
it's trying to deploy a SNAPSHOT on release (which does not cause any
issue
btw). So I end up with build success except my D module is not in the
staging repo.
That's pretty bad. If I run the prepare and the perform with -Pdist (mvn
release:prepare -Pdist) it works but the whole purpose of giving the
feature to enable extra profile is that you don't need to worry about
that.
What am I missing?
Thanks,
S.
[1]
http://git.codehaus.org/gitweb.cgi?p=btm-git.git;a=blob_plain;f=pom.xml;hb=5f34fc2aee63b32b26781aea599abf5f6c73e101
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org