Skip to content

Releases: qoomon/maven-git-versioning-extension

6.2.0

10 Feb 14:28
Compare
Choose a tag to compare
  • 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}

v5.0.1

11 Feb 22:00
Compare
Choose a tag to compare
fix: fix version update in sub modules

Easy config

11 Feb 22:00
Compare
Choose a tag to compare

5.0.0

Features

  • simplify <property> replacement configuration

Fixes

  • add missing dependency vor maven version 3.3

Breaking Changes

  • simplify <property> replacement configuration

    new 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

28 Jan 13:18
Compare
Choose a tag to compare
  • restrict project versioning to root- and sub-projects
  • fix verbose logging when disabling extension by flag

Dirty

28 Jan 13:17
Compare
Choose a tag to compare
  • provide ${git.dirty} project property

Initialized

28 Jan 13:17
Compare
Choose a tag to compare
  • set execution phase to INITIALIZE

IntelliJ Fix

28 Nov 19:53
Compare
Choose a tag to compare

It's all about timing

16 Nov 19:15
Compare
Choose a tag to compare

timestamp properties added

  • git.commit.timestamp
  • git.commit.timestamp.datetime

Hacky workaround for maven 3.6.2 regression

03 Oct 19:44
Compare
Choose a tag to compare

Disable Extension

07 Sep 11:46
Compare
Choose a tag to compare

use cli option mvn -Dversioning.disable=true ... or export VERSIONING_DISABLE=true; mvn ... to disable versioning extension