Skip to content

Version 2.2.3

Choose a tag to compare

@TheSnoozer TheSnoozer released this 21 Sep 19:41
· 999 commits to master since this release

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

New Features / Bug-Fixes:

The main key-aspects that have been improved or being worked on are the following:

  • full Java 7, Java 8 and Java 9 support
  • fixed an issue with the new Validation feature - #276
  • ability to skip the plugin via commandline -Dmaven.gitcommitid.skip=true - #268
  • alphabetically sort properties in generated file - #284
  • M2E Lifecycle Mapping defaults now to runOnIncremental=false - #269
  • a new method to replace certain characters with regular expressions (only applies for properties generated by the plugin) - #138
  • ISO 8601 as default date format - #288
  • git-commit-id-plugin removed project properties generated by other plugins - #310

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.2.3</version>
</dependency>

Known Issues / Limitations:

  • This plugin is unfortunately not working with Heroku which is due to the fact how Heroku works. In summary Heroku does not copy over the .git-repository but in order to determine the git properties this plugin relies on the fact that it has access to the git-repository. A somewhat workaround to get some information is outlined in #279 (comment)

Reporting Problems

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