[jimfs] 03/07: disable tests since not all deps are in Debian

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Sun Dec 25 22:29:54 UTC 2016


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

eighthave pushed a commit to branch master
in repository jimfs.

commit babd7ba4d3709682db21a03e03d3062616309342
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Sun Dec 25 22:45:25 2016 +0100

    disable tests since not all deps are in Debian
    
    * missing guava-testlib.jar
    * libtruth-java lacks a proper maven POM setup
---
 debian/maven.properties                            |  3 +
 .../disable-tests-due-to-missing-deps.patch        | 65 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 69 insertions(+)

diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..0696624
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,3 @@
+# Include here properties to pass to Maven during the build.
+
+maven.test.skip=true
diff --git a/debian/patches/disable-tests-due-to-missing-deps.patch b/debian/patches/disable-tests-due-to-missing-deps.patch
new file mode 100644
index 0000000..6e8e68f
--- /dev/null
+++ b/debian/patches/disable-tests-due-to-missing-deps.patch
@@ -0,0 +1,65 @@
+--- a/jimfs/pom.xml
++++ b/jimfs/pom.xml
+@@ -61,14 +61,6 @@
+       <groupId>junit</groupId>
+       <artifactId>junit</artifactId>
+     </dependency>
+-    <dependency>
+-      <groupId>com.google.guava</groupId>
+-      <artifactId>guava-testlib</artifactId>
+-    </dependency>
+-    <dependency>
+-      <groupId>com.google.truth</groupId>
+-      <artifactId>truth</artifactId>
+-    </dependency>
+   </dependencies>
+ 
+   <build>
+--- a/pom.xml
++++ b/pom.xml
+@@ -125,18 +125,6 @@
+         <version>4.12</version>
+         <scope>test</scope>
+       </dependency>
+-      <dependency>
+-        <groupId>com.google.guava</groupId>
+-        <artifactId>guava-testlib</artifactId>
+-        <version>${guava.version}</version>
+-        <scope>test</scope>
+-      </dependency>
+-      <dependency>
+-        <groupId>com.google.truth</groupId>
+-        <artifactId>truth</artifactId>
+-        <version>0.27</version>
+-        <scope>test</scope>
+-      </dependency>
+     </dependencies>
+   </dependencyManagement>
+ 
+@@ -173,25 +161,15 @@
+         <configuration>
+           <source>${java.version}</source>
+           <target>${java.version}</target>
+-          <compilerId>javac-with-errorprone</compilerId>
++          <compilerId>javac</compilerId>
+           <forceJavacCompilerUse>true</forceJavacCompilerUse>
+         </configuration>
+         <dependencies>
+           <dependency>
+-            <groupId>com.google.errorprone</groupId>
+-            <artifactId>error_prone_core</artifactId>
+-            <version>1.1.1</version>
+-          </dependency>
+-          <dependency>
+             <groupId>org.codehaus.plexus</groupId>
+             <artifactId>plexus-compiler-javac</artifactId>
+             <version>2.4</version>
+           </dependency>
+-          <dependency>
+-            <groupId>org.codehaus.plexus</groupId>
+-            <artifactId>plexus-compiler-javac-errorprone</artifactId>
+-            <version>2.4</version>
+-          </dependency>
+         </dependencies>
+       </plugin>
+       <plugin>
diff --git a/debian/patches/series b/debian/patches/series
index 634ef7b..92de5df 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove-com.google.auto.service-dep.patch
+disable-tests-due-to-missing-deps.patch

-- 
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