[exec-maven-plugin] 10/29: New build dependency on junit4

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jul 26 09:01:37 UTC 2017


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

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

commit 8191f422271eb3ab3e45f9a3ac74e2f88190bb4b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jul 26 08:36:23 2017 +0200

    New build dependency on junit4
---
 debian/changelog                      |  3 ++-
 debian/control                        |  1 +
 debian/maven.rules                    |  1 +
 debian/patches/junit-dependency.patch | 18 ++++++++++++++++++
 debian/patches/series                 |  1 +
 5 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 99806b0..d8e1526 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-exec-maven-plugin (1.2-1) UNRELEASED; urgency=medium
+exec-maven-plugin (1.2.1-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release
     - Refreshed the patch
+    - New build dependency on junit4
   * Build with the DH sequencer instead of CDBS
   * Standards-Version updated to 4.0.0
   * Use secure Vcs-* URLs
diff --git a/debian/control b/debian/control
index 9dc8af0..a53b092 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 10),
  default-jdk,
  default-jdk-doc,
+ junit4,
  libmaven-javadoc-plugin-java,
  libmaven-plugin-testing-java,
  libmaven2-core-java,
diff --git a/debian/maven.rules b/debian/maven.rules
index 77d7e5e..026a840 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -21,3 +21,4 @@ s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-
 s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ * *
 s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * *
 s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ * *
+junit junit * s/.*/4.x/ * *
diff --git a/debian/patches/junit-dependency.patch b/debian/patches/junit-dependency.patch
new file mode 100644
index 0000000..b06e065
--- /dev/null
+++ b/debian/patches/junit-dependency.patch
@@ -0,0 +1,18 @@
+Description: Adds the missing dependency on junit (should be inherited from the parent pom)
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/pom.xml
++++ b/pom.xml
+@@ -152,6 +152,12 @@
+             <version>1.13</version>
+             <scope>test</scope>
+         </dependency>
++        <dependency>
++            <groupId>junit</groupId>
++            <artifactId>junit</artifactId>
++            <version>4.12</version>
++            <scope>test</scope>
++        </dependency>
+     </dependencies>
+ 
+     <properties>
diff --git a/debian/patches/series b/debian/patches/series
index 12a645d..321bcd2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 tests-local-repository.patch
+junit-dependency.patch

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



More information about the pkg-java-commits mailing list