Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: plugin-pom
-
Labels:
-
Environment:Java 10 as JAVA_HOME for Maven
-
Similar Issues:
-
Epic Link:
-
Released As:Jenkins 2.143
Description
Sample error from workflow-support-plugin:
[ERROR] java.nio.file.NoSuchFileException:$GIT_REPO/target/classes/META-INF/annotations/hudson.Extension
(Where $GIT_REPO is the actual folder holding the code).
Attachments
Issue Links
- is blocked by
-
INFRA-1680 sezpoz-1.13.jar not getting mirrored to Artifactory
-
- Resolved
-
- links to
Solution in my case (and I believe the general case) to compile with Java 11 needs to use Jenkins version 2.164 or later (slightly older versions can compile with Java 11, Jenkins 2.150 cannot compile with Java 11).
My command line to compile with Java 11 was: