Great, thanks a lot!
In fact this was exactly I was looking for!

:-)

Markus

Max Bowsher schrieb:

Markus KARG wrote:

I have added a dependency to FOP-0.20.5 (from the maven main repository) to my project, using "compile" scope.
I can compile and package my jar.
But in the jar there is no "Class-Path: fop-0.20.5.jar" entry created by mvn, so at runtime "java -jar my.jar" will fail since it doesn't know where to find the fop classes I have used.

How do I tell mvn to add the needed "Class-Path: fop-0.20.5.jar" entry into the MANIFEST.MF file it created in my.jar?


<addClasspath>true</addClasspath>

Example here:
http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


begin:vcard
fn:Markus KARG
n:KARG;Markus
org:QUIPSY QUALITY GmbH;Entwicklung / R & D
adr:;;Stuttgarter Strasse 23;Pforzheim;Baden-Wuerttemberg;75179;Bundesrepublik Deutschland
email;internet:[EMAIL PROTECTED]
title:Staatl. gepr. Inf.
tel;work:+49-7231-9189-52
tel;fax:+49-7231-9189-59
note:QUIPSY(R) Entwicklung / R & D
x-mozilla-html:TRUE
url:http://www.quipsy.de
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to