[freehep-graphicsio-ps] 04/09: Add classpath to the JAR manifest.
Giovanni Mascellani
gio at moszumanska.debian.org
Mon Jun 13 08:57:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
gio pushed a commit to branch master
in repository freehep-graphicsio-ps.
commit 27bcc14e8e839c3cf2b577fc046a606dd188ae4c
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Sun Jun 12 11:04:47 2016 +0200
Add classpath to the JAR manifest.
---
debian/changelog | 1 +
debian/patches/classpath.diff | 29 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 31 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 289be05..1a93fd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ freehep-graphicsio-ps (2.1.1-2) UNRELEASED; urgency=low
* Bump Standards-Version to 3.9.8 (no changes required).
* Build with debhelper 9 instead of CDBS.
* 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:48 +0100
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..ad17e60
--- /dev/null
+++ b/debian/patches/classpath.diff
@@ -0,0 +1,29 @@
+From: Giovanni Mascellani <gio at debian.org>
+Subject: Add classpath to compiled JAR
+Index: freehep-graphicsio-ps/pom.xml
+===================================================================
+--- freehep-graphicsio-ps.orig/pom.xml
++++ freehep-graphicsio-ps/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>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..81c78f0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+classpath.diff
--
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/freehep/freehep-graphicsio-ps.git
More information about the pkg-java-commits
mailing list