Olivier Lamy created MJAVADOC-823:
-------------------------------------

             Summary: legacyMode keeps using module-info.java (-sourcedirectory 
still use as well as java files input)
                 Key: MJAVADOC-823
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-823
             Project: Maven Javadoc Plugin
          Issue Type: Improvement
          Components: javadoc
    Affects Versions: 3.11.1
            Reporter: Olivier Lamy
            Assignee: Olivier Lamy
             Fix For: 3.11.2


When using legacyMode, javadoc should ignore all module-info.java when building 
javadoc.

But the plugin is still using -sourcepath option with a list of directories AND 
a file as argument with all .java files. This means for project partially 
converted to java modules, aggregated javadoc may work as javadoc will still 
see some module-info..java because of scanning directories.

In legacy mode, we can remove the use of -sourcepath parameter  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to