Open olibraga opened 5 months ago
@olibraga why you need to use ${revision}
together with this extension?
It's so a continuous integration system (CircleCI) can set the version to whatever it needs to by overriding the revision property.
unfortunately that case is not supported. However you could disable versioning by setting environment variable VERSIONING_DISABLE=true
or mvn … -Dversioning.disable
see https://github.com/qoomon/maven-git-versioning-extension?tab=readme-ov-file#parameters--environment-variables
Out of curiosity what would be your expected behaviour of this extension? Disable the extension automatically if revision property is set?
If pom contains
<version>${revision}</version>
and<properties><revision>1.2.r</revision></properties>
the value of
${version.core}
is 0.0.0 instead of 1.2.3