File: classpath.diff

package info (click to toggle)
freehep-graphicsio-swf 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 544 kB
  • ctags: 1,344
  • sloc: java: 6,214; xml: 80; sh: 15; makefile: 3
file content (31 lines) | stat: -rw-r--r-- 984 bytes parent folder | download | duplicates (2)
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
From: Giovanni Mascellani <gio@debian.org>
Subject: Add classpath to compiled JAR
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: freehep-graphicsio-swf/pom.xml
===================================================================
--- freehep-graphicsio-swf.orig/pom.xml
+++ freehep-graphicsio-swf/pom.xml
@@ -16,6 +16,22 @@
       <url>http://java.freehep.org/maven2</url>
     </repository>
   </repositories>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifest>
+              <addClasspath>true</addClasspath>
+              <classpathLayoutType>repository</classpathLayoutType>
+              <classpathPrefix>/usr/share/maven-repo</classpathPrefix>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
   <dependencies>
     <dependency>
       <groupId>org.freehep</groupId>