jgitver / jgitver/jgitver-maven-plugin

Version calculation on branches breaking change from 1.7.1 to 1.8.0

Open
#166 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

**version**: 1.8.0

**usage context**:

maven command line: 3.8.3

**Problem description**:

I create a non-default branch, e.g. _dev/feature_, do a commit on this branch and tag this commit with an annotated tag, e.g. _3.0.1_.

jGitVer-maven-plugin v1.7.1 would calculate _3.0.1-dev_feature_ on `mvn validate` which is a qualified release version.
jGitVer-maven-plugin v1.8.0 would calculate _3.0.2-dev_feature-SNAPSHOT_ on `mvn validate` which is a snapshot version.

extensions.xml




fr.brouillard.oss
jgitver-maven-plugin
1.8.0

jgitver-config.xml



${maven.repo.local}

No further configuration in _pom.xml_

I would expect the same behaviour as in 1.7.1, as this change would be a breaking one.

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.