gnodet opened a new pull request, #12999: URL: https://github.com/apache/maven/pull/12999
## Summary - When `ToolchainPluginStrategy` adds a `select-jdk-toolchain` execution, it now ensures the `maven-toolchains-plugin` version is >= 3.2.0 (the first version containing that goal) - Previously, the plugin was added without a version, causing builds to fail when the project inherited an older version like 1.1 (which only has `help` and `toolchain` goals) - Reuses existing toolchains-plugin entries instead of creating duplicates, and upgrades versions in both `build/plugins` and `build/pluginManagement/plugins` ## Test plan - [x] Unit tests: 7 new tests in `ToolchainPluginStrategyTest` covering version upgrade from 1.1, no downgrade when >= 3.2.0, version addition when missing, pluginManagement upgrade, property-referenced version skip, and version comparison edge cases - [x] All 109 mvnup-related tests pass - [x] Integration test updated to verify plugin version 3.2.0 is set - [ ] CI pipeline passes 🤖 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]
