Re: Multi project release without SCM

2010-07-02 Thread Stephen Connolly
or try

mvn versions:set -DnewVersion=1.11

On 2 July 2010 08:56, tbee  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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Multi project release without SCM

2010-07-02 Thread tbee

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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Multi project release without SCM

2010-07-02 Thread tbee

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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Multi project release without SCM

2010-06-30 Thread Anders Hammar
Yes. The Versions Maven Plugin (
http://mojo.codehaus.org/versions-maven-plugin/) could help you.

/Anders

On Tue, Jun 29, 2010 at 20:13, tbee  wrote:

>
> I have a good working multiproject release but no SCM setup yet (I'm
> waiting
> for BRZ to be installed to replace CVS).
>
> Currently the parent pom has version 1.10-SNAPSHOT configured. The
> component's pom refer to this pom. If I want to release 1.10, do I need to
> modify all the pom's and remove "-SNAPSHOT"?
>
> release:prepare does not work because of the missing SCM.
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p511922.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>