Continuous Versioning with Maven View article history Edit article

Published: , Updated:
Talks about: <a class="post-tag post-tag-maven" href="/tags/maven">maven</a>, and <a class="post-tag post-tag-versioning" href="/tags/versioning">versioning</a>

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

$ mvn versions:set -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.