From: Giovanni Mascellani <gio@debian.org>
Subject: Add classpath to compiled JAR
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
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>
