Skip to content

Version 6.0.0-rc.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@TheSnoozer TheSnoozer released this 04 Mar 21:13
· 151 commits to master since this release

Version 6.0.0-rc.7 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 :-)

⚠️ This is a potentially breaking release. Read the release-notes carefully. As of now this is only a release candidate. Future release candidates and the final 6.0.0 version may contain further breaking changes ⚠️

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:

  • #72: add git.tag to get the tag on a certain commit

  • #102: Improve tests

  • #103: Fix commit.committer.time provider

  • #106 / git-commit-id/git-commit-id-maven-plugin#701: Fix an issue where running with submodules using the native git executable was causing a fatal: this operation must be run in a work tree

  • #101: Move process output handling to separate class & add tests

  • bump several maven plugins

    • bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2
    • bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.0 to 3.3.1
    • bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.5
    • bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.0 to 3.6.1
    • bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.3
    • bump org.codehaus.mojo:exec-maven-plugin from 1.3 to 3.1.1
    • bump org.codehaus.mojo:exec-maven-plugin from 3.1.1 to 3.2.0
    • bump org.jacoco:jacoco-maven-plugin from 0.8.2 to 0.8.11
    • bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.1
  • bump several dependencies

    • bump org.eclipse.parsson:parsson from 1.1.4 to 1.1.5
    • bump org.mockito:mockito-core from 5.6.0 to 5.10.0
    • bump commons-io:commons-io from 2.14.0 to 2.15.1
    • bump jgit.version from 6.7.0.202309050840-r to 6.8.0.202311291450-r
    • bump jakarta.json:jakarta.json-api from 2.1.2 to 2.1.3
    • bump org.yaml:snakeyaml from 2.0 to 2.2
    • bump org.assertj:assertj-core from 3.24.2 to 3.25.3
    • bump org.slf4j:slf4j-simple from 2.0.9 to 2.0.12
    • bump joda-time:joda-time from 2.12.5 to 2.12.7
    • bump actions/setup-java from 3 to 4
    • bump actions/cache from 3 to 4

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.7</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