[plexus-ant-factory] 15/19: Enabled the unit tests

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Aug 29 20:33:17 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository plexus-ant-factory.

commit 4ede12fb8db06791d1c18ce939c2e330bbcf7c7e
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Aug 29 22:15:48 2017 +0200

    Enabled the unit tests
---
 debian/changelog                         |  1 +
 debian/control                           |  1 +
 debian/maven.properties                  |  2 +-
 debian/maven.rules                       |  1 +
 debian/patches/01-junit-dependency.patch | 18 ++++++++++++++++++
 debian/patches/series                    |  1 +
 6 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 49f5c4e..40ca1d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ plexus-ant-factory (1.0~alpha2.1-4) UNRELEASED; urgency=medium
 
   * Team upload.
   * Build with maven-debian-helper instead of maven-ant-helper
+  * Enabled the unit tests
   * Removed the unused dependency on ant-optional
   * Moved the package to Git
   * Standards-Version updated to 4.1.0
diff --git a/debian/control b/debian/control
index a90a01c..add5eb7 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
  ant,
  debhelper (>= 10),
  default-jdk,
+ junit4,
  libplexus-container-default-java,
  maven-debian-helper (>= 2.2)
 Standards-Version: 4.1.0
diff --git a/debian/maven.properties b/debian/maven.properties
index d2f1b82..ab18ddd 100644
--- a/debian/maven.properties
+++ b/debian/maven.properties
@@ -1 +1 @@
-maven.test.skip=true
+maven.test.skip=false
diff --git a/debian/maven.rules b/debian/maven.rules
index c81efe6..032cc0e 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1 +1,2 @@
+junit junit * s/.*/4.x/ * *
 org.codehaus.plexus plexus-container-default * s/.*/1.0-alpha/ * *
diff --git a/debian/patches/01-junit-dependency.patch b/debian/patches/01-junit-dependency.patch
new file mode 100644
index 0000000..6e1890c
--- /dev/null
+++ b/debian/patches/01-junit-dependency.patch
@@ -0,0 +1,18 @@
+Description: Adds the dependency on junit (should be inherited from the parent poms)
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/pom.xml
++++ b/pom.xml
+@@ -29,6 +29,12 @@
+       <artifactId>plexus-container-default</artifactId>
+       <version>1.0-alpha-9-stable-1</version>
+     </dependency>
++    <dependency>
++      <groupId>junit</groupId>
++      <artifactId>junit</artifactId>
++      <version>4.12</version>
++      <scope>test</scope>
++    </dependency>
+   </dependencies>
+ 
+   <scm>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9efca2d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-junit-dependency.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-ant-factory.git



More information about the pkg-java-commits mailing list