Maven - create jar manifest with two classpath prefixes
I am writing a pom file of my project, but I am facing a problem in the classpath entries. In my pom I have set
plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
/plugin>
but with this conf in the generated librairies manifests it is assumed to be in lib /. In fact, they are all located either in .... /lib/public/or..../lib/private/. Is it possible to distinguish the location of librairies in the pom file to have a different prefix in the generated manifest?
thank
+3
source to share
No one has answered this question yet
Check out similar questions: