You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/04/24 17:40:00 UTC

[jira] [Closed] (MJAVADOC-586) --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module

     [ https://issues.apache.org/jira/browse/MJAVADOC-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MJAVADOC-586.
-----------------------------------
      Assignee: Robert Scholte
    Resolution: Cannot Reproduce

I've tested it with JDK 16 and it works as expected. Confirms it was fixed on the OpenJDK side.

> --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module
> --------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-586
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-586
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: jar
>    Affects Versions: 3.1.0
>         Environment: JDK 13-ea+11
> Maven 3.6.0
>            Reporter: Gili
>            Assignee: Robert Scholte
>            Priority: Major
>         Attachments: javadoc-mojo-requires-module.zip
>
>
> # Extract testcase
>  # Run "mvn clean install javadoc:jar" under JDK 13-ea+11
>  # Build fails with: {{--add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module}}
> This testcase works fine under JDK 12-ea+33.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)