hboutemy commented on issue #128:
URL: 
https://github.com/apache/maven-toolchains-plugin/issues/128#issuecomment-3430801823

   `mvn toolchains:3.2.0:select-jdk-toolchain` works with Maven 3 but not 
4.0.0-rc-4:
   
   ```
   Execution default-cli of goal 
org.apache.maven.plugins:maven-toolchains-plugin:3.2.0:select-jdk-toolchain 
failed: Unable to load the mojo 'select-jdk-toolchain' (or one of its required 
components) from the plugin 
'org.apache.maven.plugins:maven-toolchains-plugin:3.2.0': 
com.google.inject.ProvisionException: Unable to provision, see the following 
errors:
   [ERROR] 
   [ERROR] 1) [Guice/NullInjectedIntoNonNullable]: null returned by binding at 
LocatorWiring
   [ERROR]  but SelectJdkToolchainMojo.factory(SelectJdkToolchainMojo.java:57) 
is not @Nullable
   ```
   
   perhaps in Maven 3, the @NonNullable is not enforced, while it is in Maven 4
   
   > Guillaume Nodet: No, I suspect guice cannot find the correct 
implementation for this interface for some reason.
   > `-Dsisu.debug` could help


-- 
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]

Reply via email to