Version 2.2.0
Version 2.2.0 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:
- Java 1.6 is no longer supported with this version - #205
- updated jgit 4.0.0.201506090130-r (needs Java 1.7 and fixed an IOException on windows while building) - #205 and #203
- add the ability to set the timezone along with dateFormat with <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>- #204
- the generateGitPropertiesFilename from the README was adjusted to make it clearer that properties should be placed inside the target folder and not inside the source-Folder (e.g. use ${project.build.outputDirectory}/git.properties) - #217
- in previous versions the plugin is generating the properties commit.idandcommit.id.abbrev. However those can not be put into a JSON structure (#122). If you want to populate values into a JSON structure I would recommend to checkout the new switch<commitIdGenerationMode>full</commitIdGenerationMode>which will store thecommit.idasgit.commit.id.fulland thus allowing you to populate the values into a JSON structure. By default this switch is turned off and thus will generate the properties the old fashioned way to ensure backwards compatibility.
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.0</version>
</dependency>Reporting Problems
If you find any problem with this plugin, feel free to report it here