Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade git-commit-id-maven-plugin 7.0.0 -> 8.0.0 #1067

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Picnic-Bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
git-commit-id-maven-plugin build major 7.0.0 -> 8.0.0

Release Notes

git-commit-id/git-commit-id-maven-plugin (git-commit-id-maven-plugin)

v8.0.0: Version 8.0.0

Compare Source

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

⚠️ This is a potentially breaking release. Read the release-notes carefully ⚠️

Potential Breaking changes:

The main key-aspects that might cause a breakage when migrating to the new version:

  • #​674/#​699: change default timeformat/dateformat from RFC822 to ISO 8601 to support maven's reproducible build feature ⚠️

New Features / Bug-Fixes:

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

  • #​701/#​705: 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
  • #​700: Only injects properties into every reactor project once
  • #​683: [pom] Add encoding to pom and correct maven xsd location
  • make use of git-commit-id-plugin-core:6.0.0-rc.7 (move the GitDirLocator related logic to git-commit-id-plugin-core)
  • bump several maven plugins
    • bump maven-plugin-plugin.version from 3.9.0 to 3.11.0
    • bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.0 to 3.6.1
    • bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.5
    • bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.0 to 3.3.1
    • bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2
    • bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.3
    • bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.2.0
    • bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11
    • bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.1
  • bump several dependencies
    • bump commons-io:commons-io from 2.14.0 to 2.15.1
    • bump org.mockito:mockito-core from 5.6.0 to 5.10.0
    • bump jakarta.xml.bind:jakarta.xml.bind-api from 2.3.3 to 4.0.1
    • bump org.slf4j:slf4j-simple from 2.0.9 to 2.0.12
    • bump org.assertj:assertj-core from 3.24.2 to 3.25.3
    • bump com.puppycrawl.tools:checkstyle from 8.25 to 10.13.0
    • 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-maven-plugin</artifactId>
    <version>8.0.0</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:

Reporting Problems

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


  • If you want to rebase/retry this PR, check this box

@Picnic-Bot
Copy link
Contributor Author

Picnic-Bot commented Mar 5, 2024

Suggested commit message:

Upgrade git-commit-id-maven-plugin 7.0.0 -> 8.0.0 (#1067)

See:
- https://github.com/git-commit-id/git-commit-id-maven-plugin/releases/tag/v8.0.0
- https://github.com/git-commit-id/git-commit-id-maven-plugin/compare/v7.0.0...v8.0.0

Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested against internal repo.

@Stephan202 Stephan202 added this to the 0.16.0 milestone Mar 5, 2024
@Picnic-Bot Picnic-Bot force-pushed the renovate/git-commit-id-maven-plugin-8.x branch from 0b7519f to 8be97f1 Compare March 6, 2024 02:11
Copy link

github-actions bot commented Mar 6, 2024

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

2 similar comments
Copy link

github-actions bot commented Mar 6, 2024

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link

github-actions bot commented Mar 6, 2024

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@Picnic-Bot Picnic-Bot force-pushed the renovate/git-commit-id-maven-plugin-8.x branch from 8be97f1 to 5baa493 Compare March 7, 2024 02:02
Copy link

github-actions bot commented Mar 7, 2024

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link

sonarqubecloud bot commented Mar 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@rickie rickie merged commit 8847a15 into master Mar 7, 2024
15 checks passed
@rickie rickie deleted the renovate/git-commit-id-maven-plugin-8.x branch March 7, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants