mvn revapi:update-release-properties && mvn release:prepare
Updating Versions In
|Goal details page: here|
This works identically to the update versions goal but instead of updating the version directly in the
pom.xml files, it creates or updates the
release.properties file. This will then be read by the maven release plugin during the release process.
will automatically set the release and development versions for you according to the semver versioning rules.