File: add-classpath.patch

package info (click to toggle)
postgis-java 1%3A2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 748 kB
  • sloc: java: 4,890; xml: 738; makefile: 16; sh: 12
file content (24 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Add classpath to postgis-jdbc jar.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -41,6 +41,17 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <suiteXmlFiles>