[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libcommons-jexl2-java



On 26/04/13 09:24, Emmanuel Bourg wrote:
Le 26/04/2013 10:16, Eugene Zhukov a écrit :

To fix this warning you can patch pom.xml with maven-jar-plugin and
<addClasspath>true</addClasspath> flag.
http://maven.apache.org/shared/maven-archiver/examples/classpath.html

Thank you Eugene, I wasn't aware of this feature.

However will that really work in our case? It seems the jars are
specified in the Class-Path attribute with the version. We want
version-less jars, that is:

     Class-Path: plexus-utils.jar commons-lang.jar

instead of:

     Class-Path: plexus-utils-1.1.jar commons-lang-2.1.jar

Maybe try this as an alternative approach - its a little manual but does work:

https://javacruft.wordpress.com/2011/06/03/avoiding-missing-classpath-lintian-warnings-with-maven-based-packages/


--
James Page
Ubuntu Core Developer
Debian Maintainer
james.page@ubuntu.com


Reply to: