Hi,
I'm trying append './' to the MANIFEST.MF Class-Path entry generated
by the addClasspath option of the jar plug-in.
I've tried the following:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>my.MainClass</mainClass>
<addClasspath>true</addClasspath>
<addExtensions>true</addExtensions>
<classpathPrefix>./lib</classpathPrefix>
</manifest>
<manifestEntries>
<Class-Path>./</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
...but my manifestEntry seems to be overridden or ignored.
I'm new to Maven and am wondering if there is a standard way or a
workaround that accomplishes this while still leveraging addClasspath
(so I don't have to manually maintain the manifest as dependencies
change)?
Thanks,
Ian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]