Reputation: 168
When working with nx monorepos I can make use of a plugin (https://github.com/jscutlery/semver) that automatically bumps the package.json versions using semver 2.0.0 based on the commit messages made.
Is there something similar for maven?
Upvotes: 2
Views: 738
Reputation: 10652
Yes that exists. Have a look at this custom VersionPolicy (= next version calculator) for the maven-release-plugin that does this using the Conventional Commits model.
https://github.com/nielsbasjes/conventional-commits-maven-release
Upvotes: 1