We are using maven release plugin to build deployable. While maven release plugin is slow as it does several things. There is an alternative way in maven from maven 3.5.0. Its maven ci friendly feature https://maven.apache.org/maven-ci-friendly.html
But two things I don't understand.
- How does we bump up next development version in pom.xml using ci friendly plugin. It is performed by DdevelopmentVersion flag of maven-release-plugin. Does the version stay same forever in pom.xml and we upgrade version from command line only ?
- How does maven ci friendly prevent deploying snapshot artifact for production. Which maven-release-plugin does by default.
Any clarification would be highly appreciated.