Commit d01f5eb6 authored by Giovanni Mascellani's avatar Giovanni Mascellani

Add classpath to JAR.

parent 29428700
......@@ -16,6 +16,7 @@ freehep-swing (2.0.3-4) UNRELEASED; urgency=low
* Build with debhelper 9 instead of CDBS.
* Quit using topgit and remove leftovers.
* Remove trivial information in debian/README.source.
* Add classpath to the JAR manifest.
-- Giovanni Mascellani <gio@debian.org> Sat, 29 Jan 2011 16:16:50 +0100
......
From: Giovanni Mascellani <gio@debian.org>
Subject: Add classpath to compiled JAR
Index: freehep-swing/pom.xml
===================================================================
--- freehep-swing.orig/pom.xml
+++ freehep-swing/pom.xml
@@ -51,6 +51,18 @@
<target>1.4</target>
</configuration>
</plugin>
+ <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>
source_version.diff
classpath.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment