Can't recreate it locally, but that error would only occur if it couldn't load the default implementation defined for that interface (DefaultCheckstyleExecutor)
You could try using -Dorg.sonatype.inject.debug=true to dump out detailed logs of what it's trying to bind (this is an old flag specific to the library that shipped with 3.0.5) What version of Java are you using? Also have you checked that the jars in your local repo are not corrupt and contain the expected classes? On Sat, 4 Apr 2020 at 18:35, Karl Heinz Marbaise <[email protected]> wrote: > Hi, currently I'm stumbling over the following issue: > > Running Maven 3.0.5 and following plugin (also had that with other > plugins)... > > Can someone give me a hint what cause this kind of issue: > > > INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ > maven-project-installer-project-it --- > Apr 04, 2020 7:30:21 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn > WARNING: Error injecting: > org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo > com.google.inject.ProvisionException: Guice provision errors: > > 1) No implementation for > org.apache.maven.plugins.checkstyle.exec.CheckstyleExecutor was bound. > while locating > org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo > > 1 error > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:974) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000) > at > > org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45) > at > > com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) > at > > com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) > at > > com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) > at > > org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138) > at > > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) > at > > com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) > at > > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInterna > > Also observed that with maven-remote-resources-plugin:1.7.0... > > > > Kind regards > Karl-Heinz Marbaise > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
