Le 13/08/2020 à 10:36, Neil C Smith a écrit :

I've no idea what problems people are having with multi-module Jigsaw and Maven, but working on one now, I think there are things we could do better in the IDE UI to support that across build systems.

Did you find a way to run any java tools (javac, javadoc, etc.) on more than one Jigsaw module at once with Maven? Javadoc is the main use case, but not the only one.

When running javadoc on many Jigsaw modules at once, the generated overview page lists all modules. We can click on one module to see the packages in that module. The javadoc of each class contains a "Module" line on top of the "Package" line telling us in which module is defined that class. The navigation bar contains a "Modules" item in addition of "Packages" item, etc.

Aggregated Javadoc with Maven is not the same thing. It basically merges the content of all Maven modules and handles them as if they were defined in a single module. All module stuff cited in above paragraph disappear. If we want some separation by module, we have to define package groups manually in Maven javadoc plugin configuration (but it still not modules).

Javadoc is the main use case, but the same issue happens for all Java tools (e.g. annotation processor). Except that Maven provides a partial workaround only for javadoc.

    Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to