Maven Release Plugin Milestone Support

497 Views Asked by At

I have problem with maven release plugin.What i need to do is do tag this way [ 0.0.1 --> 0.0.1.M1 --> 0.0.1.M2 --> 0.0.2 ]. For that i need to use maven release plugin but it only supports snapshots.I want to know is there any way to do the milestone tag using maven release plugin. Thanks

1

There are 1 best solutions below

0
On BEST ANSWER

I would suggest to change the version you have in your pom file to:

<version>0.0.1.M1-SNAPSHOT</version>

afterwards you can simply use mvn release:prepare release:perform to increment the milestone version...