[freehep-chartableconverter-plugin] 02/02: Add classpath to JAR.

Giovanni Mascellani gio at moszumanska.debian.org
Mon Jun 6 17:11:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

gio pushed a commit to branch master
in repository freehep-chartableconverter-plugin.

commit 2562b9b80f8552090bd908672a9168a0a962209e
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Sat Jun 4 22:48:41 2016 +0200

    Add classpath to JAR.
---
 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 7046f76..565be37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ freehep-chartableconverter-plugin (2.0-8) UNRELEASED; urgency=medium
   * 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.
 
  -- Philipp Huebner <debalance at debian.org>  Tue, 20 Oct 2015 16:10:28 +0200
 
diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..324b94c
--- /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-chartableconverter-plugin/pom.xml
+===================================================================
+--- freehep-chartableconverter-plugin.orig/pom.xml
++++ freehep-chartableconverter-plugin/pom.xml
+@@ -19,6 +19,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.codehaus.plexus</groupId>
diff --git a/debian/patches/series b/debian/patches/series
index 7e7f71e..4e742c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 plexus.diff
+classpath.diff

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



More information about the pkg-java-commits mailing list