[jackson-core] 15/19: Add maven-enforcer.patch

Markus Koschany apo at moszumanska.debian.org
Thu Jan 25 22:29:40 UTC 2018


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

apo pushed a commit to branch master
in repository jackson-core.

commit 79f99d1cfa14d05f86679a2a7cf9425cdbd956ae
Author: Markus Koschany <apo at debian.org>
Date:   Thu Jan 25 22:36:41 2018 +0100

    Add maven-enforcer.patch
---
 debian/patches/maven-enforcer.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/maven-enforcer.patch b/debian/patches/maven-enforcer.patch
new file mode 100644
index 0000000..b618d6a
--- /dev/null
+++ b/debian/patches/maven-enforcer.patch
@@ -0,0 +1,27 @@
+From: Markus Koschany <apo at debian.org>
+Date: Thu, 25 Jan 2018 22:36:30 +0100
+Subject: maven enforcer
+
+---
+ pom.xml | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/pom.xml b/pom.xml
+index ba6bc62..e65f760 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -65,6 +65,14 @@ com.fasterxml.jackson.core.*;version=${project.version}
+             <id>enforce-properties</id>
+ 	        <phase>validate</phase>
+             <goals><goal>enforce</goal></goals>
++              <configuration>
++           <rules>
++                <requireMavenVersion>
++                  <version>[3.0,)</version>
++                  <message>[ERROR] The currently supported version of Maven is 3.0 or higher</message>
++                </requireMavenVersion>
++	      </rules>
++	      </configuration>
+           </execution>
+         </executions>
+       </plugin>
diff --git a/debian/patches/series b/debian/patches/series
index 2a20fc6..0518f7c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 no-bundle.patch
 junit.patch
+maven-enforcer.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-core.git



More information about the pkg-java-commits mailing list