Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20934

Misconfiguration for Maven Toolchain and JDK16

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None
    • Environment:
      ci-builds.apache.org
    • Project:
      CXF

      Description

      The Apache CXF builds which use Maven Toolchain plugin with multiple JDKs started to fail recently, the error being:

      [INFO] Scanning for projects...
      [INFO]
      [INFO] --------------< org.apache.cxf.it:jdk-cxf-with-toolchain >--------------
      [INFO] Building jdk-cxf-with-toolchain 1.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- maven-toolchains-plugin:3.0.0:toolchain (default) @ jdk-cxf-with-toolchain ---
      [INFO] Required toolchain: jdk [ version='11' ]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.688 s
      [INFO] Finished at: 2020-10-03T02:15:11Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-toolchains-plugin:3.0.0:toolchain (default) on project jdk-cxf-with-toolchain: Misconfigured toolchains. Non-existing JDK home configuration at /home/jenkins/tools/java/latest16 -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


      It seems like JDK16 configuration has changed recently and is not available anymore.

        Attachments

          Activity

            People

            • Assignee:
              gmcdonald Gavin McDonald
              Reporter:
              reta Andriy Redko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: