maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <baerr...@gmail.com>
Subject Re: How to curtomize the maven release plugin upload jars?
Date Tue, 02 Apr 2013 04:34:55 GMT
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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message