[maven-dependency-plugin] 01/01: Replaced @Component with @Parameter for 'project' in AnalyzeReportMojo to fix a build failure (Closes: #799003)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Oct 30 12:48:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-dependency-plugin.
commit d5ddc95f1c3edb88fb6b0e43b925a8c0b947bd0e
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Oct 30 13:43:21 2015 +0100
Replaced @Component with @Parameter for 'project' in AnalyzeReportMojo to fix a build failure (Closes: #799003)
---
debian/changelog | 8 ++++++++
debian/patches/01-fix-plugin-annotations.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1278cb2..48ab386 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+maven-dependency-plugin (2.7-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Replaced the @Component annotation with @Parameter for the 'project' field
+ in AnalyzeReportMojo to avoid a build failure (Closes: #799003)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Fri, 30 Oct 2015 13:42:14 +0100
+
maven-dependency-plugin (2.7-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/01-fix-plugin-annotations.patch b/debian/patches/01-fix-plugin-annotations.patch
new file mode 100644
index 0000000..0f9f3a1
--- /dev/null
+++ b/debian/patches/01-fix-plugin-annotations.patch
@@ -0,0 +1,15 @@
+Description: Replace the @Component annotation with @Parameter for the 'project' field to avoid a build failure
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/799003
+--- a/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
++++ b/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
+@@ -55,7 +55,7 @@
+ /**
+ * The Maven project to analyze.
+ */
+- @Component
++ @Parameter( defaultValue = "${project}", readonly = true, required = true )
+ private MavenProject project;
+
+ /**
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..326c5fd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-fix-plugin-annotations.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-dependency-plugin.git
More information about the pkg-java-commits
mailing list