File: debian-custom-build.patch

package info (click to toggle)
jgit 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,128 kB
  • ctags: 19,388
  • sloc: java: 139,916; xml: 3,184; sh: 338; ruby: 78; makefile: 42
file content (64 lines) | stat: -rw-r--r-- 2,101 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
52
53
54
55
56
57
58
59
60
61
62
63
64
From: Jakub Adam <jakub.adam@ktknet.cz>
Date: Tue, 8 Nov 2011 22:54:49 +0100
Subject: debian-custom-build

- disable maven-source-plugin (we don't need jar archive with sources)
- disable findbugs-maven-plugin (not in Debian)
- disable maven-pmd-plugin (not in Debian)
- do not build org.eclipse.jgit.http.test (requires newer Jetty than present in Debian)
- add org.eclipse.jgit.pgm to jgit console classpath
- don't build jgit console all-in-one executable
---
 org.eclipse.jgit.pgm/jgit.sh | 2 +-
 pom.xml                      | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/org.eclipse.jgit.pgm/jgit.sh b/org.eclipse.jgit.pgm/jgit.sh
index 6b9ce40..3700d4f 100644
--- a/org.eclipse.jgit.pgm/jgit.sh
+++ b/org.eclipse.jgit.pgm/jgit.sh
@@ -86,7 +86,7 @@ Darwin)
 	;;
 esac
 
-CLASSPATH="$cp"
+CLASSPATH="$cp:/usr/share/java/org.eclipse.jgit.pgm.jar"
 export CLASSPATH
 
 java=java
diff --git a/pom.xml b/pom.xml
index edd2e6e..79fdb90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -410,6 +410,7 @@
           <links>
             <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
           </links>
+          <detectOfflineLinks>false</detectOfflineLinks>
         </configuration>
         <executions>
           <execution>
@@ -547,7 +548,7 @@
       </activation>
       <modules>
         <module>org.eclipse.jgit.java7</module>
-        <module>org.eclipse.jgit.java7.test</module>
+        <!--module>org.eclipse.jgit.java7.test</module-->
       </modules>
     </profile>
     <profile>
@@ -634,11 +635,11 @@
     <module>org.eclipse.jgit.http.server</module>
     <module>org.eclipse.jgit.pgm</module>
     <module>org.eclipse.jgit.junit</module>
-    <module>org.eclipse.jgit.junit.http</module>
+    <!--module>org.eclipse.jgit.junit.http</module-->
 
-    <module>org.eclipse.jgit.test</module>
+    <!--module>org.eclipse.jgit.test</module-->
     <module>org.eclipse.jgit.ant.test</module>
-    <module>org.eclipse.jgit.http.test</module>
+    <!--module>org.eclipse.jgit.http.test</module-->
     <module>org.eclipse.jgit.pgm.test</module>
   </modules>