Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15924

Fix build with Java 8 (maven-apt-plugin)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Dev Tools, Infrastructure
    • Tags:
    • Sprint:
      DevOps Sprint 9
    • Story Points:
      2

      Description

      The maven-apt-plugin of org.apache.myfaces.tobago is failing when building it under java 8.

      This plugin is used for org.nuxeo.ecm.platform:nuxeo-apidoc-core.

      The plugin management in Nuxeo parent pom declares:

      <plugin>
         <groupId>org.apache.myfaces.tobago</groupId>
         <artifactId>maven-apt-plugin</artifactId>
         <version>1.0.40</version>
         <configuration>
            <generated>/target/generated/</generated>
            <nocompile>true</nocompile>
            <target>1.6</target>
         </configuration>
      </plugin>
      

      The version should be also 1.0.41 (as existing in Nuxeo nexus repository) and java version may be forced to 1.7 for this plugin.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: