elharo commented on code in PR #160: URL: https://github.com/apache/maven-checkstyle-plugin/pull/160#discussion_r1852275271
########## src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java: ########## @@ -49,28 +52,33 @@ import org.apache.maven.artifact.DependencyResolutionRequiredException; import org.apache.maven.model.Resource; import org.apache.maven.project.MavenProject; -import org.codehaus.plexus.component.annotations.Component; -import org.codehaus.plexus.component.annotations.Requirement; import org.codehaus.plexus.logging.AbstractLogEnabled; import org.codehaus.plexus.resource.ResourceManager; import org.codehaus.plexus.resource.loader.FileResourceCreationException; import org.codehaus.plexus.resource.loader.FileResourceLoader; import org.codehaus.plexus.resource.loader.ResourceNotFoundException; import org.codehaus.plexus.util.FileUtils; +import org.eclipse.sisu.Typed; /** * @author Olivier Lamy * @since 2.5 - * */ -@Component(role = CheckstyleExecutor.class, hint = "default", instantiationStrategy = "per-lookup") +@Named("default") +@Typed(CheckstyleExecutor.class) Review Comment: For some reason Sisu doesn't recognize this as a possible fulfillment of CheckstyleExecutor -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org