Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9560

Javadoc build fails if using Java11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.40.0
    • 1.42.0
    • doc
    • None

    Description

      Trying to build javadocs with _ mvn javdocs:javadocs_
      Getting error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:javadoc (default-cli) on project oak-jackrabbit-api: An error has occurred in Javadoc report generation: 
      [ERROR] Exit code: 1 - javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in named modules.
      [ERROR] 
      [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/javadoc @options @packages
      

      It seems to be related to https://bugs.openjdk.java.net/browse/JDK-8212233

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              ankitaagar Ankita Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: