Pin maven-jar-plugin 3.5.1 in modular IT fixtures
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 and 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. Pin 3.5.1 explicitly in the four affected modular fixtures so they stop depending on the super-POM’s jar-plugin version.
Verified locally under Maven 3.10.0-rc-1: Surefire1733JUnit4IT, Surefire1733TestngIT, Surefire2190JUnit4IT and Surefire1993JpmsProvidingModulesIT green; fixture logs confirm maven-jar-plugin:3.5.1:jar executed.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Contributing to Apache Maven Surefire
The Maven Community
Project Documentation
Usage of maven-surefire-plugin, maven-failsafe-plugin, maven-surefire-report-plugin
Development Information
Build the Surefire project using Maven 3.6.3+ and JDK 8+.
In order to run tests for a release check during the Vote, the following memory requirements are needed:
On Linux/Unix:
On Windows:
In order to build and run the tests:
To set up the project in Eclipse IDE or IntelliJ IDEA, please follow these steps:
Build module
surefire-shared-utilswith profileide-developmentand install it into the local maven repository using this Maven command:In Eclipse, select File > Import … > Maven Project
surefire-shared-utils, enter profileide-developmentin Advanced -> ProfilesIn IntelliJ, select Maven > Profiles and check
ide-developmentDeploying web site
See http://maven.apache.org/developers/website/deploy-component-reference-documentation.html