[freehep-graphicsio-emf] 04/10: Add classpath to the JAR manifest.

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

commit a8b6de9cf610290ecde20871b4276c6f81e95953
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 d8541f0..a9dad04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ freehep-graphicsio-emf (2.1.1-emfplus+dfsg1-2) UNRELEASED; urgency=medium
   * 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.
 
  -- Gabriele Giacone <1o5g4r8o at gmail.com>  Sat, 19 Jul 2014 02:20:10 +0200
 
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..76d2d1c
--- /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-emf/pom.xml
+===================================================================
+--- freehep-graphicsio-emf.orig/pom.xml
++++ freehep-graphicsio-emf/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>
+   <!-- necessary because transitive deps seem to go above inhertied deps -->
+       <dependency>
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-emf.git



More information about the pkg-java-commits mailing list