Hi,
Add:
<classpathPrefix>../../../../org/ggg/ggg-core/1.0/</classpathPrefix>
as a child element of the <manifest> element.
Ian
Geoffrey De Smet wrote:
Hi all,
With the assembly plugin I can put all my module jars in repository like
structure:
/repo/org/ggg/ggg-core/1.0/ggg-core-1.0.jar
/repo/org/ggg/ggg-ftp-app/1.0/ggg-ftp-app-1.0.jar depends on ggg-core
/repo/org/ggg/ggg-http-app/1.0/ggg-http-app-1.0.jar depends on ggg-core
I've configured the maven-jar-plugin as such:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.ggg.ftpapp.FtpMain</mainClass>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
And now the manifest contains an entry
"ggg-core-1.0.jar".
The problem is that this needs to be
"../../../../org/ggg/ggg-core/1.0/ggg-core-1.0.jar"
How I make that happen?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]