On Fri, Apr 26, 2013 at 11:24 AM, Emmanuel Bourg <ebo...@apache.org> 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
>
>
> Emmanuel Bourg
>
> Have you tried it? In your case it will just add Class-Path:
commons-logging-debian.jar
to your MANIFEST.MF and no more lintian warnings.

Reply via email to