Sajith Vijesekara
Sajith Vijesekara

Reputation: 1362

Maven Release Plugin Milestone Support

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

Upvotes: 1

Views: 523

Answers (1)

khmarbaise
khmarbaise

Reputation: 97359

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...

Upvotes: 2

Related Questions