user15013406
user15013406

Reputation: 168

Recommendation for maven plugin to automatically bump the project.version based on conventional commits

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

Answers (1)

Niels Basjes
Niels Basjes

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

Related Questions