[maven-plugin-tools] 01/02: Replaced @Component with @Parameter for 'project' in PluginReport to fix a build failure (Closes: #796445)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Oct 30 14:04:53 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-plugin-tools.
commit b4243275e1ef23c500ac54a040f167a3a296bcbd
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Oct 30 15:00:55 2015 +0100
Replaced @Component with @Parameter for 'project' in PluginReport to fix a build failure (Closes: #796445)
---
debian/changelog | 8 ++++++++
debian/patches/05-fix-plugin-annotation.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2813f8d..ca6d8dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+maven-plugin-tools (3.3-3) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Replaced the @Component annotation with @Parameter for the 'project' field
+ in PluginReport to fix a build failure (Closes: #796445)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Fri, 30 Oct 2015 14:58:30 +0100
+
maven-plugin-tools (3.3-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/05-fix-plugin-annotation.patch b/debian/patches/05-fix-plugin-annotation.patch
new file mode 100644
index 0000000..311cef9
--- /dev/null
+++ b/debian/patches/05-fix-plugin-annotation.patch
@@ -0,0 +1,16 @@
+Description: Replace the @Component annotation with @Parameter for the 'project'
+ field in PluginReport to fix a build failure.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/796445
+--- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
++++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
+@@ -85,7 +85,7 @@
+ /**
+ * The Maven Project.
+ */
+- @Component
++ @Parameter( defaultValue = "${project}", required = true, readonly = true )
+ private MavenProject project;
+
+ /**
diff --git a/debian/patches/series b/debian/patches/series
index eac1ecc..5b5dcf0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
02-plexus-archiver1-compatibility.patch
03-plexus-utils2-compatibility.patch
04-reproducible-plugin-descriptor.patch
+05-fix-plugin-annotation.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-plugin-tools.git
More information about the pkg-java-commits
mailing list