jira-importer opened a new issue, #1201: URL: https://github.com/apache/maven-javadoc-plugin/issues/1201
**[Olivier Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** opened **[MJAVADOC-823](https://issues.apache.org/jira/browse/MJAVADOC-823?redirect=false)** and commented 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 --- **Affects:** 3.11.1 **Remote Links:** - [GitHub Pull Request #343 ](https://github.com/apache/maven-javadoc-plugin/pull/343) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org