-
Notifications
You must be signed in to change notification settings - Fork 123
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
Version 3.2.0 do not work with Java 6 #87
Comments
Great... I've missed that JGit requires Java 7. Can't seem to find proper changelog from the project to identify which is the last version that works with Java 6. If you need to run with Java 6, you could try to force Maven to use older version of JGit in the plugin's dependency configuration section. |
@trautonen, I followed your suggestions and works fine.
In JGit version 4.0.0 they changed the minimum required Java version to Java 7 (see Bug 458475) Apparently, using JGit 3.7.1, do not break the API you are using (at least not noticed at my runtime) 😄 |
Created hotfix version 3.2.1 which downgrades the jgit version. You can switch to that version to get rid of the explicit dependency in |
Fix workaround: e397fd6 See: trautonen/coveralls-maven-plugin#87
Works fine 👍 |
Probably is better update the README. Currently, release 3.2.0 do not work with Java 6.
Exception message during coveralls:report:
Execution default-cli of goal org.eluder.coveralls:coveralls-maven-plugin:3.2.0:report failed: An API incompatibility was encountered while executing org.eluder.coveralls:coveralls-maven-plugin:3.2.0:report: java.lang.UnsupportedClassVersionError: org/eclipse/jgit/lib/AnyObjectId : Unsupported major.minor version 51.0
The text was updated successfully, but these errors were encountered: