maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Wu T <tim.t...@ericsson.com>
Subject RE: How to curtomize the maven release plugin upload jars?
Date Tue, 02 Apr 2013 05:26:18 GMT
Hi Barrie,

Thanks.

Br,
Tim

-----Original Message-----
From: Barrie Treloar [mailto:baerrach@gmail.com] 
Sent: Tuesday, April 02, 2013 12:35 PM
To: Maven Users List
Subject: Re: How to curtomize the maven release plugin upload jars?

On 2 April 2013 13:53, Tim Wu T <tim.t.wu@ericsson.com> wrote:

> Hi there,
>
> We met an issue recently and maybe you could provide some help for me.
>
> We have project name "A", and we have a branch called branchA except the
> mater branch for this project.
>
> In sometimes, we also want to release the branchA, but it will cause the
> confusion when it was upload the nexus, because the branch and the master
> share the same groupId and artifactId.
>
> Just curious how you solve this type of issue?
>
> Solution 1: Use the different artifactId will be easiest way.
>
> Solution 2: Update the pom.xml maven jar plugin to make it build a jar
> like this: A-branchA.jar. Later, when the release process finished, this
> jar will also be uploaded.


Your branch should be using a *different* version identifier than your
master.

See http://semver.org/

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


Mime
View raw message