In all my projects I configure the maven-javadoc-plugin with <excludePackageNames>
so that impl
packages are excluded from the documentation production. But in certain cases I change this setting to generate documentation for all packages, typically in example code that I use for the "Getting started" section of the manual, which explains e.g. how to use a library — in particular I use this setting to make the UMLDoclet generate UML diagrams.
This has been working so far, but stopped when I added module-info.java
to a project; while I wasn't able to find anything in the plugin documentation, I suppose it's an automatic setting (or maybe it's a javadoc
thing).
Can you confirm this? Is it possible to override it? Using the <legacyMode>
configuration of the plugin doesn't fix the problem.
Maven 3.9.9, maven-javadoc-plugin 3.11.2.
Thanks.