I was thinking something like this:

trunk:
<version>1.2.3-SNAPSHOT</version>

branch:
<version>1.2.3-BRANCH-SNAPSHOT</version>


I would like to avoid using the  <classifier>...</classifier> tag
since I already use that for some of my projects. I guess it will be a
bit messy when doing a merge from the branch into eg. trunk when all
the version numbers are different. But still it ought to be possible
to use the maven-versions plugin to update the branch versions after
creating the branch.




On Tue, Dec 11, 2012 at 8:14 PM, Manfred Moser <[email protected]> wrote:
> A common way is to use classifier in the version string that signifies the
> branch and update the version for all projects with the maven versions
> plugin.
>
> Then you can do deployments to Nexus from the branch and there will be no
> confusion in terms of the artifacts..
>
> manfred
>
> On Tue, December 11, 2012 9:28 am, motes motes wrote:
>> How do you guys maintain multiple branches parallel with trunk when it
>> comes to using maven and nexus as a binary storage?
>>
>> If I create a feature branch I don't want the resulting binaries to
>> get mixed up with the binaries produced when code from trunk is
>> deployed to nexus. So I guess I need to use something like the
>> maven-release-plugin (but without incrementing the trunk version and
>> creating a tag).
>>
>> Based on this post:
>>
>> http://maven.40175.n5.nabble.com/Distinguishing-artifacts-created-on-branches-td3344427.html
>>
>> it seems that maven does not really have any good support for multiple
>> branches, it seems the only real supported workflow is trunk and
>> release from trunk. How do you guys deal with multiple branches?
>>
>> ---------------------------------------------------------------------
>> 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]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to