Releases: qoomon/maven-git-versioning-extension
Releases · qoomon/maven-git-versioning-extension
6.2.0
- Features
- add ability to define default or overwrite values for version and property format.
- default value if parameter value is not set
${paramter:-<DEFAULT_VALUE>}
e.g.${buildNumber:-0}
- overwrite value if parameter has a value
${paramter:+<OVERWRITE_VALUE>}
e.g.${dirty:+-SNAPSHOT}
- default value if parameter value is not set
- add ability to define default or overwrite values for version and property format.
v5.0.1
Easy config
5.0.0
Features
- simplify
<property>
replacement configuration
Fixes
- add missing dependency vor maven version 3.3
Breaking Changes
-
simplify
<property>
replacement configurationnew config
<gitVersioning> <branch> <pattern>master</pattern> <versionFormat>${version}</versionFormat> <property> <pattern>revision</pattern> <valueFormat>${branch-SNAPSHOT}</valueFormat> </property> </branch> </gitVersioning>
old config
<gitVersioning> <branch> <pattern>master</pattern> <versionFormat>${version}</versionFormat> <property> <pattern>revision</pattern> <value> <format>${branch-SNAPSHOT}</format> </value> </property> </branch> </gitVersioning>
Back to the root
- restrict project versioning to root- and sub-projects
- fix verbose logging when disabling extension by flag
Dirty
Initialized
- set execution phase to INITIALIZE
IntelliJ Fix
It's all about timing
timestamp properties added
git.commit.timestamp
git.commit.timestamp.datetime
Hacky workaround for maven 3.6.2 regression
v4.5.1 version 4.5.1
Disable Extension
use cli option mvn -Dversioning.disable=true ...
or export VERSIONING_DISABLE=true; mvn ...
to disable versioning extension