You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mr...@aim.com on 2011/01/13 14:00:59 UTC

Re: : how to patch releases

Hi Julien

Thanks for your mail.

You are right the scm section has to be changed too. I will just try with a dummy project how release:branch works.

But its good to know that the release plugin then works fine

Cheers

 

 


 

 

-----Original Message-----
From: Julien HENRY <he...@yahoo.fr>
To: Maven Users List <us...@maven.apache.org>
Sent: Thu, Jan 13, 2011 1:54 pm
Subject: Re : how to patch releases


Hi,



> I guess one has to create a branch from the tagged  version. Then the version 

>in the poms have to be set to 1.1.1-SNAPSHOT and then  development starts.



Also don't forget to update the scm section of your pom.



Your description of the process is good, but I don't know if there is a fully 

automated way (there is release:branch but AFAIK this is to create a branch from 



trunk, not a branch from tag). 





> And how about releasing it ? Can I use the release  plugin again ? does it 

>understand that in the scm tag there is now  "branches/xxx" instead of "trunk" 

?



Yes, release plugin works fine.



Regards,



Julien







----- Message d'origine ----

> De : "mremersoncod@aim.com" <mr...@aim.com>

> À : users@maven.apache.org

> Envoyé le : Jeu 13 janvier 2011, 13h 42min 01s

> Objet : how to patch releases

> 

> 

> 

> 

>  Hi all,

> 

> this might be a simple one and if there is  documentation about it I'm happy 

to 

>read that.

> 

> Its a basic understanding  question:

> 

> I have a maven project and do a release - lets say  1.1

> 

> The maven release plugin manipulates the poms and tags the software  in the 

>scm.

> 

> the trunk itself has e.g. 1.2-SNAPSHOT - everything is fine  and the release 

is 

>done

> 

> 

> How is the procedure if one needs to patch  1.1 to 1.1.1 ?

> 

> I guess one has to create a branch from the tagged  version. Then the version 

>in the poms have to be set to 1.1.1-SNAPSHOT and then  development starts.

> 

> Is this process only doable by hand or is there also  maven tools for that ?

> 

> And how about releasing it ? Can I use the release  plugin again ? does it 

>understand that in the scm tag there is now  "branches/xxx" instead of "trunk" 

?

> 

> is it the same procedure  ?

> 

> Thanks for any clarification or any link

> Emerson

> 

> 

>



---------------------------------------------------------------------

To unsubscribe, e-mail: users-unsubscribe@maven.apache.org

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