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