jgitver / jgitver/jgitver-maven-plugin
Maven plugin generates semver-incompatible versions
Open
- Dominant language
- Groovy
- Stars
- 166
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
We're using jgitver-maven-plugin version 1.9.0 and no specific configuration.
When we generate a version on a branch named `story/IT-4434/IT-4551-frontend` and the nearest lightweight tag being `v35.0.0` the generated version is `35.0.0-story_it_4434_it_4551_frontend-SNAPSHOT`.
According to https://semver.org/#spec-item-9 the underscore is not an allowed character in the prerelease identifier.
This behaviour causes a following maven goal (`org.revapi:revapi-maven-plugin:0.15.1:check`) to fail since a checking against the semver spec is done.
Contributor guide
Assessment
This issue has not been assessed yet.