Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13763

7.16 Release CI fails when run on JDK 11

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.16.0, 7.16.0-alpha4
    • None
    • CI
    • None

      Environment (Required on creation):

      • Camunda Jenkinkins 7.16 Release CI
      • JDK 11

      Description:

      The 7.16[-TEST]-RELEASE-build-camunda-bpm-CE-tags job builds the JavaDocs of the project using the maven-javadoc-plugin. The plugin is on version 2.9.1. When running the maven-javadoc-plugin on JDK 11, a bug is triggered (https://issues.apache.org/jira/browse/MJAVADOC-540) and the build fails.

      09:33:35[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (default-cli) on project camunda-root: Execution default-cli of goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar: java.lang.ExceptionInInitializerError: null
      09:33:35[ERROR] -----------------------------------------------------
      09:33:35[ERROR] realm =    plugin>org.apache.maven.plugins:maven-javadoc-plugin:2.9.1
      09:33:35[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      09:33:35[ERROR] urls[0] = file:/mnt/git/workspace/7.16/7.16-TEST-RELEASE-build-camunda-bpm-CE-tags/.repository/org/apache/maven/plugins/maven-javadoc-plugin/2.9.1/maven-javadoc-plugin-2.9.1.jar
      .
      .
      .
      09:33:35[ERROR] Number of foreign imports: 1
      09:33:35[ERROR] import: Entry[import  from realm ClassRealm[project>org.camunda.bpm:camunda-root:7.16.99, parent: ClassRealm[maven.api, parent: null]]]
      09:33:35[ERROR] 
      09:33:35[ERROR] -----------------------------------------------------: begin 0, end 3, length 2
      09:33:35[ERROR] -> [Help 1]
      09:33:35[ERROR] 
      09:33:35[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      09:33:35[ERROR] Re-run Maven using the -X switch to enable full debug logging.
      09:33:35[ERROR] 
      09:33:35[ERROR] For more information about the errors and possible solutions, please read the following articles:
      09:33:35[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
      

      Steps to reproduce (Required on creation):

      1. Configure the https://release.cambpm.camunda.cloud/view/Release-Test/job/7.16/job/7.16-TEST-RELEASE-build-camunda-bpm-CE-tags/ job to run on JDK 11.
      2. Run the test release jobs.
      3. The 7.16-TEST-RELEASE-build-camunda-bpm-CE-tags job will fail.

      Observed Behavior (Required on creation):

      The 7.16 release can't complete.

      Expected behavior (Required on creation):

      The 7.16 release completes successfully.

      Root Cause (Required on prioritization):

      A bug in the maven-javadoc-plugin 2.9.1 when run on JDK 11.

      Solution Ideas (Optional):

      The related ticket in the maven-javadoc-plugin https://issues.apache.org/jira/browse/MJAVADOC-540 suggests bumping the plugin version to 3.0.1 where a fix is present.

        This is the controller panel for Smart Panels app

              nikola.koevski Nikola Koevski
              nikola.koevski Nikola Koevski
              Nikola Koevski Nikola Koevski
              Tassilo Weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: