From: Giovanni Mascellani <gio@debian.org>
Subject: Add classpath to compiled JAR
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pom.xml
+++ b/pom.xml
@@ -64,6 +64,18 @@
                     <skip>true</skip>
                 </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>
   
