You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2007/06/03 15:26:25 UTC

release and deploy plugins

Hi,

apologies if this is a bit of a newbie question... how are the release 
and deploy plugins supposed to work together?  I have successfully executed

mvn release:prepare
and
mvn release:perform

however when I come to execute mvn deploy, the version has been 
incremented to NEXT_VERSION-SNAPSHOT so rather than deploying my release 
version, maven deploys the snapshot jar.

the pom.xml only contains the 1.3 version for a brief instant during 
release:prepare - obviously I'm doing something wrong :)

thanks,
Nathan


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


Re: release and deploy plugins

Posted by Nathan Coast <na...@codeczar.com>.
hey Tom,

This works perfectly, I have no idea what I was trying to do before :)

thanks,
Nathan

Tom Huybrechts wrote:
> release:prepare will update the old snapshot version to the release
> version, make a tag and then update the release version to the new
> snapshot version.
> 
> release:perform checks out the tag under the target/checkout directory
> and does a deploy from there.
> 
> On 6/3/07, Nathan Coast <na...@codeczar.com> wrote:
>> Hi,
>>
>> apologies if this is a bit of a newbie question... how are the release
>> and deploy plugins supposed to work together?  I have successfully 
>> executed
>>
>> mvn release:prepare
>> and
>> mvn release:perform
>>
>> however when I come to execute mvn deploy, the version has been
>> incremented to NEXT_VERSION-SNAPSHOT so rather than deploying my release
>> version, maven deploys the snapshot jar.
>>
>> the pom.xml only contains the 1.3 version for a brief instant during
>> release:prepare - obviously I'm doing something wrong :)
>>
>> thanks,
>> Nathan
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 


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


Re: release and deploy plugins

Posted by Tom Huybrechts <to...@gmail.com>.
release:prepare will update the old snapshot version to the release
version, make a tag and then update the release version to the new
snapshot version.

release:perform checks out the tag under the target/checkout directory
and does a deploy from there.

On 6/3/07, Nathan Coast <na...@codeczar.com> wrote:
> Hi,
>
> apologies if this is a bit of a newbie question... how are the release
> and deploy plugins supposed to work together?  I have successfully executed
>
> mvn release:prepare
> and
> mvn release:perform
>
> however when I come to execute mvn deploy, the version has been
> incremented to NEXT_VERSION-SNAPSHOT so rather than deploying my release
> version, maven deploys the snapshot jar.
>
> the pom.xml only contains the 1.3 version for a brief instant during
> release:prepare - obviously I'm doing something wrong :)
>
> thanks,
> Nathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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