maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Krumwiede <>
Subject Re: Include maven dependencies inside jar file
Date Thu, 13 Jun 2013 03:51:15 GMT
Oh, I forgot to mention: I set up my pom so the classpath of my main
jar includes lib/, so all my users have to do is unzip it and run the
main jar.

On 6/12/13, Kevin Krumwiede <> wrote:
> As Anders Hammar said, there is some classpath magic to the way
> Eclipse creates executable jars containing other jars.  I wanted
> something like that, but instead I ended up creating an assembly that
> creates a zip file.  The zip file contains my main executable jar,
> along with all the dependencies in a lib/ directory.  Because I wanted
> the zip file to contain an artifact from a project that depends on my
> main jar, I had to separate the assembly pom from my main pom.  Now I
> build my main project, build the artifact that depends on it, and then
> build the assembly.
> My files are here:
> On 6/12/13, Wayne Fay <> wrote:
>>> Wayne, I do the check and yes the dependency is inside the exec jar and
>>> yes inside that dependency I found the class AxisFault.class.
>> In that case, I cannot explain the error you seem to have run into.
>> Wayne
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message