[freehep-swing] 05/05: Add classpath to JAR.
Giovanni Mascellani
gio at moszumanska.debian.org
Mon Jun 6 17:12:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
gio pushed a commit to branch master
in repository freehep-swing.
commit d01f5eb6d54ad0c3278c1f3de61ac5ff7b67bc67
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Sat Jun 4 22:40:27 2016 +0200
Add classpath to JAR.
---
debian/changelog | 1 +
debian/patches/classpath.diff | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 805d968..f042d10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at debian.org> Sat, 29 Jan 2011 16:16:50 +0100
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..25a854f
--- /dev/null
+++ b/debian/patches/classpath.diff
@@ -0,0 +1,25 @@
+From: Giovanni Mascellani <gio at 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>
+
diff --git a/debian/patches/series b/debian/patches/series
index 07d8cbe..9338d09 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
source_version.diff
+classpath.diff
--
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/freehep/freehep-swing.git
More information about the pkg-java-commits
mailing list