Are there any automated tools for that or should I write my own
see/perl/something?

John Kramer
email: jkra...@mojiva.com
mobile: 314.435.2370
skype: kramer.mojiva
twitter: @KramerKnowsTech <https://twitter.com/KramerKnowsTech>
0xCAFEBABE00000032







On 1/14/13 11:43 AM, "Manfred Moser" <manf...@mosabuam.com> wrote:

>A very common and well working approach is to have a branch qualifier in
>the version and change the version of your project with the versions
>plugin.
>
>So e.g. you would have
>
>1.1.2-brancha-SNASPHOT
>1.1.2-branchb-SNASPHOT
>
>and to update them after you cut the branch in your scm you could use
>
>mvn versions:set -=DnewVersion= 1.1.2-brancha-SNAPSHOT
>
>manfred
>
>
>On Mon, January 14, 2013 8:39 am, John Kramer wrote:
>> Hi guys,
>>
>> Please forgive me if this seems like a newbie question.
>>
>>
>> I am reasonably seasoned with Maven, but have never really handle
>> branching myself, and now I am put in the position where I am going to
>> have to.  I.e.  What I am asking here is when I branch in git (or svn or
>> whatever) how do I manage versions in poms (and any other versions I am
>> not thinking about)?
>>
>>
>> Could someone point me at best practices for branches?
>>
>> Thanks!
>>
>>
>> John Kramer
>> email: jkra...@mojiva.com<mailto:jkra...@mojiva.com>
>> mobile: 314.435.2370
>> skype: kramer.mojiva
>> twitter: @KramerKnowsTech<https://twitter.com/KramerKnowsTech>
>> 0xCAFEBABE00000032
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>For additional commands, e-mail: users-h...@maven.apache.org
>


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

Reply via email to