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 6.0.0 -> 7.0.0 #852

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

Picnic-Bot
Copy link
Contributor

This PR contains the following updates:

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

Release Notes

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

v7.0.0: Version 7.0.0

Compare Source

Version 7.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:

  • Drop support for Maven 3.1.0-alpha-1 ⚠️
    • minimal required maven version is now Maven 3.2.5 (to support Maven 4.0.0)

New Features / Bug-Fixes:

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

  • https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/639 / https://github.com/git-commit-id/git-commit-id-maven-plugin/pull/642: Resolve worktree .git files to repository .git directory
  • Update several plugins
    • updated git-commit-id-plugin-core from 6.0.0-rc.5 to 6.0.0-rc.6, that update brings
      • https://github.com/git-commit-id/git-commit-id-plugin-core/issues/57: Stop relying on javax.json 1.1.4
        • the dependency for javax.json:javax.json-api:1.1.4 was replaced with jakarta.json:jakarta.json-api:2.1.2
        • the dependency for org.glassfish:javax.json:1.1.4 was replaced with org.eclipse.parsson:parsson:1.1.4
      • bump jgit from 6.5.0.202303070854-r to 6.7.0.202309050840-r
      • bump commons-io:commons-io from 2.11.0 to 2.14.0
      • bump org.slf4j:slf4j-simple from 2.0.7 to 2.0.9
    • bump several maven plugins
      • bump maven-plugin-api from 3.1.0-alpha-1 to 3.9.2
      • bump maven-plugin-plugin from 3.6.0 to 3.9.0
      • bump maven-assembly-plugin from 3.4.2 to 3.6.0
      • bump maven-dependency-plugin from 3.5.0 to 3.6.0
      • bump maven-release-plugin from 3.0.0-M7 to 3.0.1
      • bump maven-enforcer-plugin from 3.2.1 to 3.4.1
      • bump maven-compiler-plugin from 3.8.1 to 3.11.0
      • bump maven-gpg-plugin from 3.1.0
      • bump maven-clean-plugin from 3.1.0 to 3.3.1
      • bump maven-resources-plugin from 3.1.0 to 3.3.1
      • bump maven-jar-plugin from 3.2.0 to 3.3.0
      • bump maven-surefire-plugin from 2.22.2 to 3.1.2
      • bump maven-install-plugin from 2.5.2 to 3.1.1
      • bump maven-javadoc-plugin from 3.2.0 to 3.6.0
      • bump maven-source-plugin from 3.2.1 to 3.3.0
    • Bump or replace various plugins for testing
      • bump commons-io:commons-io from 2.11.0 to 2.14.0 (test dependency)
      • bump org.slf4j:slf4j-simple from 2.0.7 to 2.0.9 (test dependency)
      • replace org.eluder.coveralls:coveralls-maven-plugin:4.3.0 with io.jsonwebtoken.coveralls:coveralls-maven-plugin:4.4.1 (test dependency)

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>7.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 Oct 23, 2023

Suggested commit message:

Upgrade git-commit-id-maven-plugin 6.0.0 -> 7.0.0 (#852)

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

@github-actions
Copy link

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

Verified that the Git commit is still properly extracted:

$ unzip -c error-prone-contrib/target/error-prone-contrib-0.14.1-SNAPSHOT.jar META-INF/MANIFEST.MF | grep $(git rev-parse HEAD | head -c 10)
Implementation-Version: 0.14.1-SNAPSHOT.LOCAL.eb38d22bf4a162de6de1a37d88
Rookout-Revision: eb38d22bf4a162de6de1a37d88d5b7371148e753

@Stephan202 Stephan202 added this to the 0.15.0 milestone Oct 23, 2023
@Stephan202 Stephan202 force-pushed the renovate/git-commit-id-maven-plugin-7.x branch from eb38d22 to 792120d Compare October 23, 2023 14:56
@github-actions
Copy link

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-7.x branch from 792120d to 5f40345 Compare October 25, 2023 01:04
@github-actions
Copy link

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-7.x branch from 5f40345 to a54bf13 Compare October 26, 2023 01:10
@github-actions
Copy link

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-7.x branch from a54bf13 to a759c7d Compare October 27, 2023 01:12
@github-actions
Copy link

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.

3 similar comments
@github-actions
Copy link

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.

@github-actions
Copy link

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.

@github-actions
Copy link

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.

@rickie rickie force-pushed the renovate/git-commit-id-maven-plugin-7.x branch from a759c7d to b24f069 Compare October 27, 2023 09:15
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

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.

@rickie rickie merged commit 8781a9e into master Oct 27, 2023
17 checks passed
@rickie rickie deleted the renovate/git-commit-id-maven-plugin-7.x branch October 27, 2023 09:33
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