semver-release-maven-plugin
Semantic versioning release maven plugin
Properties
Git version
Set maven project version to git version a.b.c-GIT_HASH:7 Replace the snapshot suffix with the git hash (7).
mvn semver-release:version-git-hash
Properties:
- abbrevLength - git hash length. Default: 7
Release version
Set maven project version to release version: a.b.c This command remove the snapshot suffix
mvn semver-release:version-release
Release
Create git tag and increment the development version.
mvn semver-release:release-create
Properties:
- skipPush - skip push git changes to remote repository. Default: false
Patch
Create a patch branch and set patch version to 1.
mvn semver-release:patch-create
Properties:
- skipPush - skip push git changes to remote repository. Default: false
- patchVersion - create patch from this version (a.b.0). Default: null,interactive mode.