Description
Reproducible using the jdk-cxf-with-toolchain integration test. For now I will disable it...
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ jdk-cxf-with-toolchain --- [INFO] Required toolchain: jdk [ version='1.8' ] [INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.8/] [INFO] [INFO] --- cxf-codegen-plugin:3.2.5-SNAPSHOT:wsdl2java (wsdl2java) @ jdk-cxf-with-toolchain --- [WARNING] The POM for com.sun.xml.bind:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] Running code generation in fork mode... [INFO] Using toolchain JDK[/home/jenkins/tools/java/latest1.8/] to find the java executable [INFO] The java executable is /home/jenkins/tools/java/latest1.8/bin/java [INFO] Building jar: /tmp/cxf-tmp-3666764970499790379/cxf-codegen2755053280703821179.jar [WARNING] Unrecognized option: --add-modules [WARNING] Error: Could not create the Java Virtual Machine. [WARNING] Error: A fatal exception has occurred. Program will exit. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.827 s [INFO] Finished at: 2018-04-18T09:19:36Z [INFO] Final Memory: 19M/64M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.5-SNAPSHOT:wsdl2java (wsdl2java) on project jdk-cxf-with-toolchain: [ERROR] Exit code: 1 [ERROR] Command line was: /home/jenkins/tools/java/latest1.8/bin/java --add-modules java.activation,java.xml.bind,java.xml.ws --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.marshaller=ALL-UNNAMED --add-opens java.xml.ws/javax.xml.ws.wsaddressing=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED -jar /tmp/cxf-tmp-3666764970499790379/cxf-codegen2755053280703821179.jar /tmp/cxf-tmp-3666764970499790379/cxf-w2j17726919322935236109args