You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Alex Boisvert <bo...@intalio.com> on 2006/03/23 00:22:26 UTC
Continuum & mvn release
Hi,
I'm wondering if anybody has experience to share about setting up
Continuum for doing Maven2 releases (I'm assuming using a manual trigger)
I'm thinking specifically about something like:
mvn release:prepare
if ( release:prepare successful ) {
mvn release:perform
}
cleanup work area
Any ideas?
alex
Re: Continuum & mvn release
Posted by Alex Boisvert <bo...@intalio.com>.
Emmanuel Venisse wrote:
> why you don't run mvn release:prepare release:perform ?
>
> if release:prepare failed, release:perform won't run.
Right, first I wasn't sure if this would work as expected. Second, I
was wondering about how to handle the text-input part of
release:prepare, since Maven2 requires inputting a tag name and pre/post
version numbers. I'm guessing I can pass those values as parameters
but I don't know a good way to retrieve the maven2 version numbers, pass
them back, increment, etc.
> What do you mean by cleanup work area?
"mvn release:prepare" leaves behind a file called "release.properties"
which I wanted to make sure would be removed from the build work area no
matter if release:prepare or release:perform fail.
alex
Re: Continuum & mvn release
Posted by Emmanuel Venisse <em...@venisse.net>.
why you don't run mvn release:prepare release:perform ?
if release:prepare failed, release:perform won't run.
What do you mean by cleanup work area?
Emmanuel
Alex Boisvert a écrit :
> Hi,
>
> I'm wondering if anybody has experience to share about setting up
> Continuum for doing Maven2 releases (I'm assuming using a manual trigger)
>
> I'm thinking specifically about something like:
>
> mvn release:prepare
> if ( release:prepare successful ) {
> mvn release:perform
> }
> cleanup work area
>
> Any ideas?
>
> alex
>
>
>
>
>
>
>
Re: Continuum & mvn release
Posted by Alex Boisvert <bo...@intalio.com>.
Thank Dan. I'm not familiar with plexus-until so I'll look into it.
alex
dan tran wrote:
>you can write a mojo to invoke release:prepare and then release:prepare.
>
>use plexus-util's CLI interface to invoke those 2 mvn commands
>
>-D
>
>
>
>
>On 3/22/06, Alex Boisvert <bo...@intalio.com> wrote:
>
>
>>Hi,
>>
>>I'm wondering if anybody has experience to share about setting up
>>Continuum for doing Maven2 releases (I'm assuming using a manual trigger)
>>
>>I'm thinking specifically about something like:
>>
>>mvn release:prepare
>>if ( release:prepare successful ) {
>> mvn release:perform
>>}
>>cleanup work area
>>
>>Any ideas?
>>
>>alex
>>
>>
>>
>>
>>
>>
>>
>
>
>
Re: Continuum & mvn release
Posted by dan tran <da...@gmail.com>.
you can write a mojo to invoke release:prepare and then release:prepare.
use plexus-util's CLI interface to invoke those 2 mvn commands
-D
On 3/22/06, Alex Boisvert <bo...@intalio.com> wrote:
>
> Hi,
>
> I'm wondering if anybody has experience to share about setting up
> Continuum for doing Maven2 releases (I'm assuming using a manual trigger)
>
> I'm thinking specifically about something like:
>
> mvn release:prepare
> if ( release:prepare successful ) {
> mvn release:perform
> }
> cleanup work area
>
> Any ideas?
>
> alex
>
>
>
>
>