[ 
https://issues.apache.org/jira/browse/MDEP-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899506#comment-17899506
 ] 

ASF GitHub Bot commented on MDEP-966:
-------------------------------------

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





> Migrate from Plexus annotations to JSR 330 annotations
> ------------------------------------------------------
>
>                 Key: MDEP-966
>                 URL: https://issues.apache.org/jira/browse/MDEP-966
>             Project: Maven Dependency Plugin
>          Issue Type: Dependency upgrade
>            Reporter: Elliotte Rusty Harold
>            Assignee: Elliotte Rusty Harold
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to