Le 26/08/2026 à 23:49, Romain Manni-Bucau a écrit :

not sure about the debugging

When the build fails, or when Maven was run with the -X argument, the plugin generate a `jar.args` for allowing users to test from the command line as below:

   jar @target/jar.args

They can edit manually the `jar.args` file until the figured out what was causing the problem, then modify their pom.xml accordingly. This is made possible by the fact that the plugin now delegates to the jar tool, so the plugin can easily write down the arguments that it used.


multimodules can be handled with previous code so not sure the issue

I'm talking about Java modules, not Maven modules (now named "sub-projects"). Multi-modules as managed by javac, not Maven, has never been supported by Maven. The javac multi-module support has advantages impossible to reproduce with Maven, such has detecting broken references to dependents (not dependencies). They appear in qualified exports, qualified opens and Javadoc among others, and are related to the --hash-modules option mentioned previously.

    Martin

Reply via email to