nielsbasjes commented on issue #128:
URL:
https://github.com/apache/maven-toolchains-plugin/issues/128#issuecomment-3417975830
This diff fixes it on my machine:
```
diff --git
a/src/main/java/org/apache/maven/plugins/toolchain/jdk/SelectJdkToolchainMojo.java
b/src/main/java/org/apache/maven/plugins/toolchain/jdk/SelectJdkToolchainMojo.java
index 7a1276a..5e2b88a 100644
---
a/src/main/java/org/apache/maven/plugins/toolchain/jdk/SelectJdkToolchainMojo.java
+++
b/src/main/java/org/apache/maven/plugins/toolchain/jdk/SelectJdkToolchainMojo.java
@@ -18,15 +18,14 @@
*/
package org.apache.maven.plugins.toolchain.jdk;
-import javax.inject.Inject;
-import javax.inject.Named;
-
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Stream;
+import com.google.inject.Inject;
+import com.google.inject.name.Named;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoFailureException;
```
If this is a correct fix then I suspect that this change must be implemented
in more places than just here.
--
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]