Continuous Versioning with Maven View article history Edit article

Published: , Updated:
Talks about: , and

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 to prepare them for the next release. In case you are using GitHub Actions, consider using a timestamp.