ascheman opened a new pull request, #3398: URL: https://github.com/apache/maven-surefire/pull/3398
The windows-latest jdk-11 CI cell fails for every PR since Maven 3.10.0-rc-1 became the IT baseline: its super-POM pins maven-jar-plugin 3.5.0, whose plexus-archiver 4.10.4 throws an NPE (`JarToolModularJarArchiver.fixLastModifiedTimeZipEntries`) when packaging modular JARs on Windows with JDK < 14 (no `jar --date`; POSIX attribute view is null on Windows). Details, reproducer and windows-runner validation: https://github.com/apache/maven-jar-plugin/issues/555 maven-jar-plugin 3.5.1 (released 2026-07-22) ships plexus-archiver 4.12.0 with the fix. This pins 3.5.1 explicitly in the four affected modular fixtures (`surefire-1733-junit4`, `surefire-1733-testng`, `surefire-2190`, `surefire-1993-jpms-providing-modules`) so the fixtures stop depending on the super-POM's jar-plugin version. Verified locally under Maven 3.10.0-rc-1: `Surefire1733JUnit4IT`, `Surefire1733TestngIT`, `Surefire2190JUnit4IT`, `Surefire1993JpmsProvidingModulesIT` all green, fixture logs confirm `maven-jar-plugin:3.5.1:jar` executed. The windows-latest jdk-11 cell (currently red on #3392/#3395 for this unrelated reason) should turn green with this change. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
