Version 6.0.0-rc.9 is finally there and includes various bug-fixes and improvements.
Note that this library was previously part of the git-commit-id-maven-plugin so you might want relevant changes in the issues listed there too :-)
Potential Breaking changes:
The main key-aspects that might cause a breakage when migrating to the new version:
New Features / Bug-Fixes:
The main key-aspects that have been improved or being worked on are the following:
- main changes
- update several dependencies
- bump
commons-io:commons-io
from2.15.1
to2.16.1
- bump
org.eclipse.parsson:parsson
from1.1.5
to1.1.6
- bump
org.slf4j:slf4j-simple
from2.0.12
to2.0.13
- bump
org.mockito:mockito-core
from5.11.0
to5.12.0
- bump
org.assertj:assertj-core
from3.25.3
to3.26.0
- bump
- update several maven plugins
- bump
org.apache.maven.plugins:maven-gpg-plugin
from3.1.0
to3.2.4
- bump
org.apache.maven.plugins:maven-assembly-plugin
from3.6.0
to3.7.1
- bump
org.apache.maven.plugins:maven-compiler-plugin
from3.12.1
to3.13.0
- bump
org.apache.maven.plugins:maven-source-plugin
from3.3.0
to3.3.1
- bump
org.apache.maven.plugins:maven-jar-plugin
from3.3.0
to3.4.1
- bump
org.apache.maven.plugins:maven-install-plugin
from3.1.1
to3.1.2
- bump
org.apache.maven.plugins:maven-deploy-plugin
from3.1.1
to3.1.2
- bump
org.jacoco:jacoco-maven-plugin
from0.8.11
to0.8.12
- bump
org.codehaus.mojo:exec-maven-plugin
from3.2.0
to3.3.0
- bump
org.apache.maven.plugins:maven-enforcer-plugin
from3.4.1
to3.5.0
- bump
org.apache.maven.plugins:maven-javadoc-plugin
from3.6.3
to3.7.0
- bump
org.apache.maven.plugins:maven-checkstyle-plugin
from3.3.1
to3.4.0
- bump
org.apache.maven.plugins:maven-surefire-plugin
from3.2.5
to3.3.0
- bump
org.apache.maven.plugins:maven-release-plugin
from3.0.1
to3.1.0
- bump
org.apache.maven.plugins:maven-dependency-plugin
from3.6.1
to3.7.1
- bump
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>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-plugin-core</artifactId>
<version>6.0.0-rc.9</version>
</dependency>
Getting the latest snapshot (build automatically)
If you can't wait for the next release, you can also get the latest snapshot version from sonatype, that is being deployed automatically by github actions:
<pluginRepositories>
<pluginRepository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
Even though the github actions will only deploy a new snapshot once all tests have finished, it is recommended to rely on the released and more stable version.
Known Issues / Limitations:
- N/A
Reporting Problems
If you find any problem with this plugin, feel free to report it here