Continuous Versioning with Maven View article history Edit article

Published:
Talks about: , and

In order to automatically version Maven projects, I like to use the m-versions-p like this:

$ mvn versions:set -DnewVersion=my.new.version -DgenerateBackupPoms=false

This will update the version property of every module in the reactor, e.g. to prepare them for the next release. In case you are using GitHub Actions, consider using a timestamp.