Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-567

"Not in a module on the module source path" when using JDK 12

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: javadoc
    • Labels:
      None
    • Environment:
      maven-javadoc-plugin 3.1.0-SNAPSHOT
      JDK 12-ea+28

      Description

      If you take the original testcase from MJAVADOC-555 and run it under JDK 12 you will get a new error message: "error: not in a module on the module source path"

      I trust that MJAVADOC-555 fixed a bug under JDK 11 because the MJAVADOC-555_aggr_mixed integration test was failing before and is now passing, but it looks like we need a separate integration test for JDK 12.

      I am attaching an updated testcase for the problem I am seeing under JDK 12.

      Repro steps:

      1. Open the attached testcase
      2. Run mvn clean javadoc:aggregate
      3. Build will fail with: error: not in a module on the module source path

       

        Attachments

        1. testcase.zip
          4 kB
          Gili

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              cowwoc Gili
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: