Re: Rewrite of JAR plugin ready for merge

"Martin Desruisseaux via dev" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.devel
Message-ID <[email protected]>
Le 26/08/2026 à 18:32, Romain Manni-Bucau a écrit :

> since it is the only reason we moved to jar tool provider we might
> ask ourselves if we keep this choice or drop it if we consider being
> ~=>100% slower is too much

Validation is not the only reason for moving to the jar tools. Other 
options are --hash-modules, --main-class (in a modular JAR, it updates 
`module-info.class`, easier debugging and (as an opportunistic gain) 
toolchain support. Another work which is not directly related to the jar 
tool but is also in the pull request is the multi-modules support.

The easiest fix is to add a `validate` configuration option and run `jar 
--validate` only if requested.

     Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.