jgitver / jgitver/jgitver-maven-plugin

Maven plugin generates semver-incompatible versions

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.