gnodet opened a new pull request, #13059: URL: https://github.com/apache/maven/pull/13059
## Summary Three fixes for mvnup issues found during maven4-testing compatibility run: ### 1. maven-jar-plugin upgrade target: 3.5.0 → 3.4.2 maven-jar-plugin 3.5.0 includes a plexus-archiver regression where `JarToolModularJarArchiver` fails with *"Could not create modular JAR file"* for projects that repackage JARs (e.g., HBase's `hbase-shaded-client-fixed` via atlas). The fix is in plexus-archiver 4.12.0, not yet released as jar-plugin 3.5.1. mvnup now targets 3.4.2 which is the latest stable version without this regression. Will be reverted to 3.5.0+ once jar-plugin 3.5.1 ships. ### 2. exec-maven-plugin submodule test coverage Verified that #12200 (exec-maven-plugin target bump to 3.5.0) correctly covers submodule-level explicit version declarations. Added a multi-module integration test that simulates the hbase-assembly scenario: parent POM + child module declaring exec-maven-plugin:3.1.0 explicitly. The test confirms the upgrade to 3.5.0 works correctly in this scenario. ### 3. Toolchain JDK availability warning When `ToolchainPluginStrategy` adds the `maven-toolchains-plugin` with `select-jdk-toolchain` goal, it now emits a warning that the required JDK must be installed and discoverable. This prevents silent build failures like netbeans-html4j where the toolchain request can't be satisfied because no compatible JDK is available. ## Testing - All 749 tests in `impl/maven-cli` pass - Added 3 new unit tests + 1 new integration test - spotless clean _AI agent (Hermes on behalf of gnodet)_ -- 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]
