gnodet opened a new pull request, #12238: URL: https://github.com/apache/maven/pull/12238
## Summary Fixes #11973 Custom toolchain implementations compiled against Maven 3.x call `DefaultToolchain(ToolchainModel, String, org.codehaus.plexus.logging.Logger)`, which was removed when Maven 4 switched to SLF4J. This causes `NoSuchMethodError` at runtime. This PR adds two deprecated backward-compatible constructors that accept the old Plexus `Logger` parameter and delegate to the existing SLF4J-based constructors. See also: https://github.com/apache/maven-toolchains-plugin/pull/152 ## Test plan - [x] `mvn install -DskipTests` builds successfully - [ ] Run maven-toolchains-plugin ITs with custom toolchain (`use-custom-toolchain`) 🤖 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]
