g a specialized classloader.
>>
>> You can also unzip the various dependency jars (into /target) and
>> include them in your jar, which would give you a single (large) jar
>> file that can execute your app. The dependency plugin can help with
>> this and/or a
Hi,
Take a look at the Maven Assembly Plugin [1], especially its unpack goal [2]
in combination with the predefined descriptor "jar-with-dependencies" [3]. I
think this does exactly what you want.
Hth,
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
[2] http://maven.apache.org/plugins
On 8/18/08, sairndain <[EMAIL PROTECTED]> wrote:
>
> What I want to do is create a java application jar that also includes other
> "jar" files that are required in its application's classpath
You realize that "jars inside a jar" is not supported by the default
Sun JVM classloader, right?
This
Have you looked at jarjar ?
http://code.google.com/p/jarjar/
Most of the docs show ANT usage, but I think you can use it in maven...
http://www.mvnrepository.com/artifact/com.tonicsystems/jarjar
Of course, I'd love to give you an example, but can't since I haven't
used it. Perhaps someone with
d" style poms that illustrate how to put
dependency jars inside of an application jar?
--
View this message in context:
http://www.nabble.com/including-jars-in-a-jar-tp19043412p19043412.html
Sent from the Maven - Users mailing list archive at Nabble.com.
--