You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tbee <tb...@tbee.org> on 2010/07/02 09:53:09 UTC

Re: Multi project release without SCM

The concept is what I am looking for, but it doesn't do exactly what I need. 

For example: the parent pom has version 1.11-SNAPSHOT, all child poms refer
to this version. If I want to release 1.11, I remove "-SNAPSHOT" in the
parent pom and do an versions:update-parent. But the 1.11 pom is not
released yet, so this action will replace all child 1.11-SNAPSHOT references
with 1.10 instead of 1.11. 
What I would need to do is:
- replace 1.11-SNAPSHOT with 1.11 in parent pom
- run release on the parent (childeren will still refer to 1.11-SNAPSHOT)
- run versions:update-parent
- run release again

But that does not work, because then I will release the 1.11 parent twice,
which will fail.

I'll see if I can find another way to get this working with this plugin.
-- 
View this message in context: http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p512571.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Multi project release without SCM

Posted by Stephen Connolly <st...@gmail.com>.
or try

mvn versions:set -DnewVersion=1.11

On 2 July 2010 08:56, tbee <tb...@tbee.org> wrote:

>
> Nevermind: versions:update-child-modules
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p512572.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Multi project release without SCM

Posted by tbee <tb...@tbee.org>.
Nevermind: versions:update-child-modules
-- 
View this message in context: http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p512572.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org