Description: Replace the @Component annotation with @Parameter for the 'project' field to avoid a build failure
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/799003
--- a/src/main/java/org/apache/maven/plugin/dependency/analyze/AnalyzeReportMojo.java
+++ b/src/main/java/org/apache/maven/plugin/dependency/analyze/AnalyzeReportMojo.java
@@ -55,7 +55,7 @@
     /**
      * The Maven project to analyze.
      */
-    @Component
+    @Parameter( defaultValue = "${project}", readonly = true, required = true )
     private MavenProject project;
 
     /**
