maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehul Sanghvi <mehul.sang...@gmail.com>
Subject Re: How to use 5 digit version numbers with Maven ?
Date Thu, 07 Jan 2016 12:31:28 GMT
Is there documentation on the mercury scheme ?  I tried following the link
at http://www.mojohaus.org/versions-maven-plugin/version-rules.html, but
that
just gives me a "Page Not Found".



cheers,

      mehul


On Thu, Jan 7, 2016 at 7:27 AM, Robert Patrick <robert.patrick@oracle.com>
wrote:

> Yes, you can use the Mercury version numbering scheme for artifacts having
> the 5 digit version number.  Create a version rules XML file that specifies
> which artifacts use Mercury and which artifacts use Maven version schemes.
> Pass the file using the versions plugin's rulesUri or
> -Dmaven.version.rules...
>
> > On Jan 7, 2016, at 6:08 AM, Mehul Sanghvi <mehul.sanghvi@gmail.com>
> wrote:
> >
> > We need to use 5 digit version numbers going forward.  Maven only
> handles 3
> > digit version numbers
> > using the versions-maven-plugin.  Is there a way to use 5 digits for
> > project.version ?
> >
> > What we want to do is use 1.2.3.4.5-SNAPSHOT vs 1.2.3-SNAPSHOT and
> > 1.2.3.4.5 vs 1.2.3 after
> > the release.
> >
> >
> >
> > cheers,
> >
> >     mehul
> >
> > --
> > Mehul N. Sanghvi
> > email: mehul.sanghvi@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

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