Le 26/04/2013 10:49, Olivier Sallou a écrit : > I built the package, and jar file is only available in maven-repo. It is > not present in /usr/share/java. This is needed for non maven projects. > > You could create a symlink to maven repo: > > /usr/share/maven-repo/org/apache/commons/commons-jexl/2.1.1/commons-jexl-2.1.1.jar > <- /usr/share/java/commons-jexl-2.1.1.jar I opened the .deb generated and I do see a symlink to /usr/share/java. dpkg-deb -c gives me this: ./ ./usr/ ./usr/share/ ./usr/share/java/ ./usr/share/java/commons-jexl.jar ./usr/share/doc/ ./usr/share/doc/libcommons-jexl2-java/ ./usr/share/doc/libcommons-jexl2-java/copyright ./usr/share/doc/libcommons-jexl2-java/changelog.Debian.gz ./usr/share/maven-repo/ ./usr/share/maven-repo/org/ ./usr/share/maven-repo/org/apache/ ./usr/share/maven-repo/org/apache/commons/ ./usr/share/maven-repo/org/apache/commons/commons-jexl/ ./usr/share/maven-repo/org/apache/commons/commons-jexl/debian/ ./usr/share/maven-repo/org/apache/commons/commons-jexl/debian/commons-jexl-debian.pom ./usr/share/maven-repo/org/apache/commons/commons-jexl/2.1.1/ ./usr/share/maven-repo/org/apache/commons/commons-jexl/2.1.1/commons-jexl-2.1.1.pom ./usr/share/java/commons-jexl-2.1.1.jar -> commons-jexl.jar ./usr/share/maven-repo/org/apache/commons/commons-jexl/debian/commons-jexl-debian.jar -> ../../../../../../java/commons-jexl.jar ./usr/share/maven-repo/org/apache/commons/commons-jexl/2.1.1/commons-jexl-2.1.1.jar -> ../../../../../../java/commons-jexl.jar However the name of the jar is wrong, is should be commons-jexl2.jar, otherwise it will conflict with JEXL 1.x. Emmanuel Bourg
Attachment:
signature.asc
Description: OpenPGP digital signature