gnodet commented on code in PR #483:
URL: 
https://github.com/apache/maven-dependency-plugin/pull/483#discussion_r1848513539


##########
src/main/java/org/apache/maven/plugins/dependency/exclusion/AnalyzeExclusionsMojo.java:
##########
@@ -57,15 +58,19 @@
 @Mojo(name = "analyze-exclusions", requiresDependencyCollection = 
ResolutionScope.TEST, threadSafe = true)
 public class AnalyzeExclusionsMojo extends AbstractMojo {
 
-    @Component
     private MavenProject project;

Review Comment:
   Constructor injected fields should be made `final`.



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

Reply via email to