Description
When building the Site Toolkit with Java 8 an error is logged as the JaxB version used is not compatible with Java 8.
The plugin version used is 1.2, required is 1.6
See: http://jira.codehaus.org/browse/MJAXB-83
Error logged:
[ERROR] Failed to execute goal com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate (default) on project hst-core: Execution default of goal com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate failed: A required class was missing while executing com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate: com/sun/mirror/apt/AnnotationProcessorFactory
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/jenkins/.m2/repository/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.2/maven-jaxb-schemagen-plugin-1.2.jar
[ERROR] urls[1] = file:/var/lib/jenkins/tools/hudson.model.JDK/JDK_8u25/jre/../lib/tools.jar
[ERROR] urls[2] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] urls[3] = file:/home/jenkins/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Attachments
Issue Links
- relates to
-
HSTTWO-3189 [7.9] build error with java 8
- Closed