dash-licenses
dash-licenses copied to clipboard
Java 17
Jenkins is reporting the following error:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/agent/workspace/dash-license-tool/core/src/main/java/org/eclipse/dash/licenses/util/GitUtils.java:[15,28] cannot access org.eclipse.jgit.api.Git
bad class file: /home/jenkins/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/7.0.0.202409031743-r/org.eclipse.jgit-7.0.0.202409031743-r.jar(/org/eclipse/jgit/api/Git.class)
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
It looks like the decision to update to JGit 7.0.0 comes with a requirement to also update to Java 17.