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 2019/01/26 15:54:00 UTC

[jira] [Closed] (MJAVADOC-568) javadoc:jar fails when project has Automatic-Module-Name and (implicit) uses offlinelinks with element-list

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

Robert Scholte closed MJAVADOC-568.
-----------------------------------
    Resolution: Fixed
      Assignee: Robert Scholte

Fixed in [8e7b2655555b35109566428ee32f8cb7459a7f79|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=8e7b2655555b35109566428ee32f8cb7459a7f79]
One note: ensure that the Automatic-Module-Name ends up in the MANIFEST.MF of the jar; this doesn't happen with the provided testcase.

> javadoc:jar fails when project has Automatic-Module-Name and (implicit) uses offlinelinks with element-list
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-568
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-568
>             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
>            Assignee: Robert Scholte
>            Priority: Major
>         Attachments: testcase.zip
>
>
> # Unpack testcase
>  # Run {{mvn clean package javadoc:aggregate -e}}
>  # module2 will fail to build with: "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."



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