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

Maven plugin execution fails with maven-scm-provider-jgit 2.1.0 #221

Open
mdindoffer opened this issue Apr 22, 2024 · 1 comment
Open

Maven plugin execution fails with maven-scm-provider-jgit 2.1.0 #221

mdindoffer opened this issue Apr 22, 2024 · 1 comment

Comments

@mdindoffer
Copy link

mdindoffer commented Apr 22, 2024

Summary

buildnumber-maven-plugin 3.2.0 fails to execute the create goal with the latest jgit provider implementation, likely due to a breaking API change.

[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:3.2.0:create (default) on project example: Execution default of goal org.codehaus.mojo:buildnumber-maven-plugin:3.2.0:create failed: An API incompatibility was encountered while executing org.codehaus.mojo:buildnumber-maven-plugin:3.2.0:create: java.lang.NoSuchMethodError: 'void org.apache.maven.scm.command.info.InfoItem.setLastChangedDateTime(java.time.temporal.TemporalAccessor)'

Environment:

  • Apache Maven 3.8.8
  • Java version: 21.0.1
  • buildnumber-maven-plugin 3.2.0
  • maven-scm-provider-jgit 2.1.0
@mdindoffer mdindoffer changed the title Maven plugin execution fails with maven-svm-provider-jgit 2.1.0 Maven plugin execution fails with maven-scm-provider-jgit 2.1.0 Apr 22, 2024
@slawekjaranowski
Copy link
Member

looks like ITs not cover your case ... this #219 pass build
Can you prepare a reproduce example, which can be added to ITs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants