File: no_spark_in_Java_build.patch

package info (click to toggle)
genomicsdb 1.5.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,316 kB
  • sloc: cpp: 68,637; ansic: 58,281; java: 8,230; python: 2,315; sh: 2,115; perl: 1,621; makefile: 499; xml: 496
file content (22 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: excluding the spark classes from the build, we won't be able to
 handle them as we don't have spark in Debian.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-07-26

--- a/pom.xml
+++ b/pom.xml
@@ -192,6 +192,13 @@
           <compilerArgs>
             <arg>-Xlint</arg>
           </compilerArgs>
+          <!-- Removing spark classes, as spark is no available in Debian -->
+          <excludes>
+            <exclude>**/org/genomicsdb/spark/**/*.java</exclude>
+          </excludes>
+          <testExcludes>
+            <testExclude>**/org/genomicsdb/spark/**/*.java</testExclude>
+          </testExcludes>
         </configuration>
       </plugin>