jgitver / jgitver/jgitver-maven-plugin
Need meta.COMMIT_DISTANCE_TO_ROOT exposed as a Maven property
Open
- Dominant language
- Groovy
- Stars
- 166
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
## Issue
**version**: 1.9.0
**usage context**: `mvn validate`
- [x] maven command line: 3.8.5
**Problem description**:
Using strategy=PATTERN and defining in the `jgitver.config.xml`:
```
${v}${-~meta.QUALIFIED_BRANCH_NAME}${+~meta.COMMIT_DISTANCE_TO_ROOT}
```
Never results in the the `COMMIT_DISTANCE_TO_ROOT` property being populated, even when `useCommitDistance` is `true`.
How to get this information into a Maven property?
Contributor guide
Assessment
This issue has not been assessed yet.