[jackson-annotations] 05/06: New build dependency on junit4

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Apr 8 11:06:49 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository jackson-annotations.

commit f221dfd52dd1301f2a669aacca3335c2b9dcebfd
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Apr 8 13:02:25 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 89d04eb..6fa0262 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ jackson-annotations (2.7.3-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream release
     - Refreshed the patch
+    - New build dependency on junit4
   * Standards-Version updated to 3.9.8 (no changes)
   * Use secure Vcs-* URLs
 
diff --git a/debian/control b/debian/control
index 873fe93..72e0787 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
  maven-debian-helper (>= 1.6.5)
 Build-Depends-Indep:
  default-jdk-doc,
+ junit4,
  libmaven-bundle-plugin-java,
  libmaven-javadoc-plugin-java
 Standards-Version: 3.9.8
diff --git a/debian/maven.rules b/debian/maven.rules
index a93d709..b71a893 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,2 +1,4 @@
 
 com.fasterxml.jackson.core jackson-annotations bundle s/2\..*/2.x/ * *
+junit junit jar s/4\..*/4.x/ * *
+junit junit * s/.*/4.x/ * *
diff --git a/debian/patches/depend-on-junit.diff b/debian/patches/depend-on-junit.diff
new file mode 100644
index 0000000..a0bb8c5
--- /dev/null
+++ b/debian/patches/depend-on-junit.diff
@@ -0,0 +1,18 @@
+--- a/pom.xml
++++ b/pom.xml
+@@ -32,6 +32,15 @@
+     <osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>
+   </properties>
+ 
++  <dependencies>
++    <dependency>
++      <groupId>junit</groupId>
++      <artifactId>junit</artifactId>
++      <version>4.11</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
+   <build>
+     <plugins>
+       <plugin>
diff --git a/debian/patches/series b/debian/patches/series
index c39825f..6ef8bf9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-using-bundle.diff
+depend-on-junit.diff

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



More information about the pkg-java-commits mailing list