[freehep-io] 02/03: Classpath patch.
Giovanni Mascellani
gio at moszumanska.debian.org
Thu Jun 9 11:30:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
gio pushed a commit to branch master
in repository freehep-io.
commit beb997803a5e33dffa6973c47593ca737653e1a6
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Thu Jun 9 13:28:14 2016 +0200
Classpath patch.
---
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..df9807c
--- /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-io/pom.xml
+===================================================================
+--- freehep-io.orig/pom.xml
++++ freehep-io/pom.xml
+@@ -17,6 +17,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
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-io.git
More information about the pkg-java-commits
mailing list