jgitver / jgitver-maven-plugin

maven core extension to automatically define versions using jgitver & git tags
https://jgitver.github.io/
Other
159 stars 41 forks source link

Support for export of info properties #164

Closed lbruun closed 3 years ago

lbruun commented 3 years ago

New feature: If jgitver.export-properties-path=FILE is defined as a System Property, for example on the command line:

mvn ... -Djgitver.export-properties-path=./jgitver-output.properties

then a properties file, FILE, will be generated with the jgitver info properties.

This enables such properties to be picked up by the remainder of the CI pipeline.

Design choices:

Furthermore this PR

Fixes #163