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 2018/12/28 17:03:00 UTC

[jira] [Closed] (MJAVADOC-556) javadoc:aggregate fails with "No source files for package" for packages that are not exported

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

Robert Scholte closed MJAVADOC-556.
-----------------------------------
       Resolution: Fixed
         Assignee: Robert Scholte
    Fix Version/s: 3.0.2

Fixed in [e6fa5ce7989a1de8f5e0c3205f3b7df7c2d01bff|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=e6fa5ce7989a1de8f5e0c3205f3b7df7c2d01bff]
Thanks for the patch!

> javadoc:aggregate fails with "No source files for package" for packages that are not exported
> ---------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-556
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-556
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 3.0.2
>         Environment: Maven 3.6.0
> maven-javadoc-plugin 3.0.2-SNAPSHOT (for Java 11 support)
>            Reporter: Gili
>            Assignee: Robert Scholte
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.2
>
>         Attachments: testcase.zip
>
>
> # Unpack testcase (contains module1, module2 but only module 1 is exported)
>  # Run {{clean install javadoc:aggregate}}
>  # Build fails with: {{javadoc: error - No source files for package module2}}
>  # Modify {{module-info.java}} so it also exports module2
>  # RunĀ {{clean install javadoc:aggregate}}
>  # Notice that no error occurs
> Expected behavior: {{maven-javadoc-module}} should omit non-exported packages fromĀ {{target/site/apidocs/packages}}.



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