[freehep-xml] 03/04: Add classpath to JAR.

Giovanni Mascellani gio at moszumanska.debian.org
Sat Jun 11 13:14:10 UTC 2016


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

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

commit f10df04dd6a169191de71f45d0f54515a7330c97
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Sat Jun 11 15:02:43 2016 +0200

    Add classpath to JAR.
---
 debian/patches/classpath.diff | 29 +++++++++++++++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..c8907bd
--- /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-xml/pom.xml
+===================================================================
+--- freehep-xml.orig/pom.xml
++++ freehep-xml/pom.xml
+@@ -53,6 +53,22 @@
+       </build>
+     </profile>
+   </profiles>
++  <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 3a315d4..0c7d3fb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 XMLCharacterProperties.java.diff
+classpath.diff

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



More information about the pkg-java-commits mailing list