nielsbasjes commented on issue #128: URL: https://github.com/apache/maven-toolchains-plugin/issues/128#issuecomment-3415374940
Seems Guice is only complaining, not the cause https://github.com/apache/maven-toolchains-plugin/blob/master/src/main/java/org/apache/maven/plugins/toolchain/jdk/SelectJdkToolchainMojo.java#L140 ``` @Inject private ToolchainManagerPrivate toolchainManager; ``` In Maven 4: https://github.com/apache/maven/blob/maven-4.0.x/compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java#L35 ``` @Deprecated(since = "4.0.0") public interface ToolchainManagerPrivate { ``` So it seems in order to work on Maven 4 the maven-compat is needed. https://github.com/apache/maven/blob/maven-4.0.x/compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java#L61-L66 -- 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]
