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/25 21:33:00 UTC

[jira] [Closed] (MJAVADOC-645) Remind user to add Automatic-Module-Name entry when an unnamed module depends on a named module

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

Robert Scholte closed MJAVADOC-645.
-----------------------------------
      Assignee: Robert Scholte
    Resolution: Not A Problem

Looks like issues have been fixed in OpenJDK 15, so let's close it here.

> Remind user to add Automatic-Module-Name entry when an unnamed module depends on a named module
> -----------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-645
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-645
>             Project: Maven Javadoc Plugin
>          Issue Type: Improvement
>          Components: jar, javadoc
>    Affects Versions: 3.2.0
>            Reporter: Gili
>            Assignee: Robert Scholte
>            Priority: Major
>         Attachments: testcase.zip
>
>
> 1. Extract testcase
> 2. Run `mvn clean package`
> 3. Build fails with:
> {code:java}
> Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project module2: MavenReportException: Error while generating Javadoc: 
> Exit code: 1 - javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in http://nexus.sonatype.org/oss-repository-hosting.html/root/module1/apidocs/ are in named modules.
> Command line was: cmd.exe /X /C ""C:\Program Files\Java\jdk-14+36-1461\bin\javadoc.exe" @options @packages"
> Refer to the generated Javadoc files in 'C:\Users\Gili\Documents\3rdparty\javadoc-jar-mixing-named-and-unnamed-extending-sonatype\module2\target\apidocs' dir.
> {code}



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