slachiewicz opened a new pull request, #714:
URL: https://github.com/apache/maven-jlink-plugin/pull/714

   Unit tests in `JLinkMojoArgumentsTest` now cover how each parameter becomes 
a jlink argument (`createJlinkArgs`, plus `sourceJdkModules` → jmods folder). 
`cli-options/all-compatible` replaces the ITs that only checked that the zip 
exists or that `build.log` mentions an argument, and proves jlink accepts the 
compatible options together.
   
   Coverage map (removed IT → covered by):
   
   | Removed IT | Covered by |
   |---|---|
   | cli-options/strip-debug, bind-services, ignore-signing-information, 
no-header-files, no-man-pages, endian, endian-big, compress-0/1/2 | 
`JLinkMojoArgumentsTest` per option, and `all-compatible` (strip-debug, 
bind-services, ignore-signing-information, no-header-files, no-man-pages, 
endian big, compress 2) |
   | MJLINK-40_includeLocales | `includeLocalesAddLocaleDataModule`, and 
`all-compatible` (include-locales, no-header-files, no-man-pages, verbose) |
   | MJLINK-6_allowSetJmodPath | `sourceJdkModulesPointsToItsJmodsFolder`, and 
`all-compatible` (`sourceJdkModules=${java.home}`) |
   
   Kept as ITs: add-options (needs JDK 14+), MJLINK-77 (`zip-1` needs JDK 21+, 
its `build.log` grep is covered by the `compress` test), disable-plugin 
(conflicts with `compress`), MJLINK-41, MJLINK-26 (default configuration, no 
dependency), the MJLINK-52 classifier ITs, MJLINK-9, attach_skip, GH-502, 
MJLINK-80 and the setup projects, which test packaging behaviour. 
cli-options/suggest-providers stays excluded as before.
   
   Measured with `mvn -B -Prun-its verify -Dmaven.repo.local=<warm repo>`, JDK 
21, 2 vCPU, alternating before/after, with another build running in parallel 
(load 2.5 to 5):
   
   | | run 1 | run 2 | invoker ITs |
   |---|---|---|---|
   | master | 418 s | 251 s | 28 |
   | this PR | 215 s | 173 s | 17 |
   
   Unit tests go from 14 to 41. Timings are noisy because of the parallel load.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to