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

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

commit 958a2f30ec6a73201dea22a70e9b23108d3efd6a
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 | 25 +++++++++++++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1f9855b..ecdf3ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ freehep-graphicsio-tests (2.1.1+dfsg1-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:49 +0100
 
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..42d8e87
--- /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-graphicsio-tests/pom.xml
+===================================================================
+--- freehep-graphicsio-tests.orig/pom.xml
++++ freehep-graphicsio-tests/pom.xml
+@@ -40,6 +40,18 @@
+           <keepAlive>true</keepAlive>
+         </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>
+     <dependencies>
diff --git a/debian/patches/series b/debian/patches/series
index 8668ae2..ff044ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 TestCustomStrokes.diff
+classpath.diff

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



More information about the pkg-java-commits mailing list