This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-processor-plugin.

commit 91b1d597207c0ff5470e0db5ccf9f0e7cf7e41db
Author: Emmanuel Bourg <ebo...@apache.org>
Date:   Sat Apr 7 01:33:56 2018 +0200

    Fixed the build failure with Java 9 (Closes: #893355)
---
 debian/changelog                            |  7 +++++++
 debian/patches/01-java9-compatibility.patch | 14 ++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a016077..c374a4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+maven-processor-plugin (3.3.2-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with Java 9 (Closes: #893355)
+
+ -- Emmanuel Bourg <ebo...@apache.org>  Sat, 07 Apr 2018 01:32:44 +0200
+
 maven-processor-plugin (3.3.2-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/01-java9-compatibility.patch 
b/debian/patches/01-java9-compatibility.patch
new file mode 100644
index 0000000..ec91155
--- /dev/null
+++ b/debian/patches/01-java9-compatibility.patch
@@ -0,0 +1,14 @@
+Description: Fixes the compatibility with Java 9
+Author: Emmanuel Bourg <ebo...@apache.org>
+Forwarded: no
+--- 
a/src/main/java/org/bsc/maven/plugin/processor/AnnotationProcessorCompiler.java
++++ 
b/src/main/java/org/bsc/maven/plugin/processor/AnnotationProcessorCompiler.java
+@@ -399,6 +399,8 @@
+     {
+ 
+         return new CompilationTask() {
++            public void addModules(Iterable<String> modules) {}
++
+             @Override
+             public void setProcessors(Iterable<? extends Processor> 
processors) {
+                 throw new UnsupportedOperationException("Not supported 
yet."); //To change body of generated methods, choose Tools | Templates.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..12bc5e0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-java9-compatibility.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/maven-processor-plugin.git

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to