[freehep-graphicsio-java] 04/07: Add classpath to the JAR manifest.

Giovanni Mascellani gio at moszumanska.debian.org
Mon Jun 13 08:57:40 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-java.

commit b5cb6da37089272f77c63f3295bb6a3eb8bb2ba3
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 f5c0ff0..d62cb67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ freehep-graphicsio-java (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:47 +0100
 
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..1f1215f
--- /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-java/pom.xml
+===================================================================
+--- freehep-graphicsio-java.orig/pom.xml
++++ freehep-graphicsio-java/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-java.git



More information about the pkg-java-commits mailing list