You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2019/01/22 03:13:00 UTC

[jira] [Created] (MJAVADOC-567) "Not in a module on the module source path" when using JDK 12

Gili created MJAVADOC-567:
-----------------------------

             Summary: "Not in a module on the module source path" when using JDK 12
                 Key: MJAVADOC-567
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-567
             Project: Maven Javadoc Plugin
          Issue Type: Bug
          Components: javadoc
    Affects Versions: 3.1.0
         Environment: maven-javadoc-plugin 3.1.0-SNAPSHOT
JDK 12-ea+28
            Reporter: Gili
         Attachments: testcase.zip

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:
 # Open the attached testcase
 # Run {{mvn clean javadoc:aggregate}}
 # {{Build will fail with: }}{{error: not in a module on the module source path}}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)