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.
Like many more advanced Maven scenarios, the documentation is sketchy at best.
Here is an example version rules xml file
http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
If you are using Eclipse with the m2e plug-ins (we use Eclipse/STS which
comes with this), it will tell you what versions are being included as
transitive dependencies.
Our approach removed the decision about library versions from the
developers and put it into the project manager's hand so
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
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
Hi,
On 1/7/16 1:08 PM, Mehul Sanghvi wrote:
We need to use 5 digit version numbers going forward. Maven only handles 3
digit version numbers
where is this documented ?
which is simply not true.
https://cwiki.apache.org/confluence/display/MAVENOLD/Versioning
Since Maven 3 you can use