Thanks Roland, Trevor, and Heinrich.  The summary below captures the
problem quite concisely.

Roland, perhaps we can work together to implement, or at least come up
with a proposal for one or both of the solutions below.

And anyone else who has a better idea, please speak up.

Jim

-----Original Message-----
From: Heinrich Nirschl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 26, 2007 3:06 PM
To: Maven Users List
Subject: Re: Releasing a branch?

On 4/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> As I see it, you just described the only solution that works. I may be

> wrong here, so if any of the maven-programmers think I am: please DO
tell me!
> No matter how you assign the version-numbers, fact remains that maven 
> can not 'automatically' handle branching.
>

As I see it there are two solutions:
1) starting the maintenance branch before the release and doing the
release on the branch, in this case you have to manually adjust the
version on the trunk.

2) doing the release on the trunk and starting the maintenance branch
from the tagged version, in this case the version has to be manually
updated on the branch.

Both approaches work, but there is some manual version editing in both.
Once the branching is done, the release plugin works fine on the branch
(for releasing further maintenance releases) and on the trunk (for
releasing the next major release). The manual update is only necessary
once per branch.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to