[jimfs] 01/02: fully disable test and junit dependency

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Wed Jan 25 22:27:55 UTC 2017


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

eighthave pushed a commit to branch master
in repository jimfs.

commit c4614997ed315a658f792c13b063b477a94c09ba
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Wed Jan 25 23:22:51 2017 +0100

    fully disable test and junit dependency
---
 debian/control                                         |  1 -
 debian/maven.rules                                     |  1 -
 debian/patches/disable-tests-due-to-missing-deps.patch | 16 ++++++++++++----
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 74a8eb7..a90da8c 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders: Hans-Christoph Steiner <hans at eds.org>
 Build-Depends: debhelper (>= 10~),
                default-jdk,
                findbugs,
-               junit,
                libguava-java,
                libicu4j-java,
                libmaven-bundle-plugin-java,
diff --git a/debian/maven.rules b/debian/maven.rules
index 4711015..23d3466 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,3 +1,2 @@
-junit junit jar s/.*/4.12/ * *
 com.google.truth truth jar s/.*/0.7.0/ * *
 org.codehaus.plexus plexus-compiler-javac jar s/.*/2.4/ * *
diff --git a/debian/patches/disable-tests-due-to-missing-deps.patch b/debian/patches/disable-tests-due-to-missing-deps.patch
index d37cd94..9b6f7a0 100644
--- a/debian/patches/disable-tests-due-to-missing-deps.patch
+++ b/debian/patches/disable-tests-due-to-missing-deps.patch
@@ -23,10 +23,18 @@
    <build>
 --- a/pom.xml
 +++ b/pom.xml
-@@ -125,18 +125,6 @@
-         <version>4.12</version>
-         <scope>test</scope>
+@@ -117,26 +117,6 @@
+         <artifactId>jsr305</artifactId>
+         <version>2.0.1</version>
        </dependency>
+-
+-      <!-- Test dependencies -->
+-      <dependency>
+-        <groupId>junit</groupId>
+-        <artifactId>junit</artifactId>
+-        <version>4.12</version>
+-        <scope>test</scope>
+-      </dependency>
 -      <dependency>
 -        <groupId>com.google.guava</groupId>
 -        <artifactId>guava-testlib</artifactId>
@@ -42,7 +50,7 @@
      </dependencies>
    </dependencyManagement>
  
-@@ -173,25 +161,15 @@
+@@ -173,25 +153,15 @@
          <configuration>
            <source>${java.version}</source>
            <target>${java.version}</target>

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



More information about the pkg-java-commits mailing list