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 2018/12/23 15:08:00 UTC

[jira] [Updated] (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 ]

Gili updated MJAVADOC-556:
--------------------------
    Attachment: testcase.zip

> 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
>            Priority: Major
>         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)