[freehep-graphicsio-svg] 06/09: Add classpath to the JAR manifest.

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

commit 5312cdff112d285fcfcd0d04a22f87b33b3b1329
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 5c17d3c..d89a663 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ freehep-graphicsio-svg (2.1.1-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:48 +0100
 
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..1526d66
--- /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-svg/pom.xml
+===================================================================
+--- freehep-graphicsio-svg.orig/pom.xml
++++ freehep-graphicsio-svg/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
index 5d610d3..a3ba22f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 geogebra.diff
+classpath.diff

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/freehep/freehep-graphicsio-svg.git



More information about the pkg-java-commits mailing list