Gili created MJAVADOC-556:
-----------------------------

             Summary: 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


# 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)

Reply via email to