Skip to content

Releases: git-commit-id/git-commit-id-maven-plugin

Version 2.1.11

22 Sep 03:06
Compare
Choose a tag to compare

Version 2.1.11 is finally there and includes various bug-fixes and improvements :-)

New Features / Bug-Fixes:

  • Extra directories created when default <generateGitPropertiesFilename> is used - #124
  • Added possibility to specify encoding for generated git.properties file - currently defaults to UTF-8 - #131
  • Add ability to get tag(s) for current commit - #133

Getting the latest release

The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:

<dependency>
    <groupId>pl.project13.maven</groupId>
    <artifactId>git-commit-id-plugin</artifactId>
    <version>2.1.11</version>
</dependency>

Reporting Problems

If you find any problem with this plugin, feel free to report it here

Version 2.1.10

22 Sep 03:22
Compare
Choose a tag to compare

Version 2.1.10 is finally there and includes various bug-fixes and improvements :-)

New Features / Bug-Fixes:

  • The plugin has now the additional option <useNativeGit>true/false</useNativeGit> option to choose whether to run with the original jgit implementation or to perform calls to the native git-binary. By default the plugin uses the jgit java implementation (<useNativeGit>false</useNativeGit>) and as a general thumb rule the native git binary should only be used if you experience any strange performance issues (e.g. git data extraction takes several minutes) or any other problems that might not be limited to git shallow clones. (#120, #119, #118, #110, #93)
  • Added new property git.commit.id.short-describe that strips out commit hash and gives more (non-tech-) user friendly build number (e.g. instead of 1.2.0-123-gd3a890 it will give 1.2.0-123) - #111

Getting the latest release

The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:

<dependency>
    <groupId>pl.project13.maven</groupId>
    <artifactId>git-commit-id-plugin</artifactId>
    <version>2.1.10</version>
</dependency>

Reporting Problems

If you find any problem with this plugin, feel free to report it here

Version 2.1.9

09 Feb 05:17
Compare
Choose a tag to compare

Version 2.1.9 is finally there and includes various bug-fixes and improvements :-)

New Features / Bug-Fixes:

Allows to filter which properties you want to expose (for example you might want to hide repo url, or email).

Main feature: 7c2bea0 resolves issue #91

Getting the latest release

The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:

<dependency>
    <groupId>pl.project13.maven</groupId>
    <artifactId>git-commit-id-plugin</artifactId>
    <version>2.1.9</version>
</dependency>

Reporting Problems

If you find any problem with this plugin, feel free to report it here