File: pom.patch

package info (click to toggle)
genomicsdb 1.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,788 kB
  • sloc: cpp: 78,988; ansic: 58,119; java: 8,531; python: 2,270; sh: 1,850; perl: 1,621; makefile: 490; xml: 455
file content (51 lines) | stat: -rw-r--r-- 2,130 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: adding missing dependencies in the pom, and also tweaking a bit
 the protobuf lines so that .proto files are effectively treated
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/GenomicsDB/GenomicsDB/issues/231
Last-Update: 2022-07-26

--- a/pom.xml
+++ b/pom.xml
@@ -145,6 +145,22 @@
       <artifactId>java-getopt</artifactId>
       <version>${gnu.getopt.version}</version>
     </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>debian</version>
+    </dependency>
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+      <version>debian</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-lang3</artifactId>
+      <version>debian</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
@@ -338,7 +354,7 @@
           <reuseForks>true</reuseForks>
           <parallel>all</parallel>
           <useUnlimitedThreads>true</useUnlimitedThreads>
-          <argLine>${surefireJacoco} ${surefireArgLine}</argLine>
+          <argLine>${surefireArgLine}</argLine>
           <systemPropertyVariables>
             <buildDirectory>${project.build.directory}</buildDirectory>
             <log4j.configuration>file:${genomicsdb_source_directory}/src/resources/log4j.properties</log4j.configuration>
@@ -424,7 +440,9 @@
                         <include name="**/*.proto"/>
                       </fileset>
                     </path>
-                    <pathconvert pathsep=" " property="protobuf.input.filepaths" refid="protobuf.input.filepaths.path"/>
+                    <pathconvert pathsep=" " property="protobuf.input.filepaths" refid="protobuf.input.filepaths.path">
+                        <map from="${basedir}${file.separator}" to="" />
+                    </pathconvert>
                     <exec executable="${protoc.filepath}" failonerror="true">
                       <arg value="-I"/>
                       <arg value="${protobuf.input.directory}"/>