Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3125

Java 8: maven-jaxb-schemagen-plugin incompatible with Java 8, HST does not compile

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.28.07
    • 2.30.00
    • None

    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

          Activity

            People

              Unassigned Unassigned
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: