Re: maven 2.0.7 assembly plugin

2007-11-14 Thread Nigel Magnay
You can do a jar containing all dependencies with the following descriptor. However - the excludes doesn't work properly in the assembly plugin, so if you have dependencies that are signed, you'll have to fix them afterwards annoyingly. You can also pack jars into the /lib and use something like o

Re: maven 2.0.7 assembly plugin

2007-11-13 Thread Steve Taylor
In theory, at the command line from the directory of the parent project, just type: mvn -DdescriptorId=jar-with-dependencies assembly:assembly and you should get a single jar with everything in it. In practice, what you actually get is a jar with just META-INF/MANIFEST.MF. So I am also really loo

Re: maven 2.0.7 assembly plugin

2007-11-06 Thread Tomasz Pik
On 11/6/07, John Coleman <[EMAIL PROTECTED]> wrote: > I have used the assembly plugin, but not like this. > > I don't think such a JAR (i.e. a JAR of JARS) will work unless you are > loading the classes up by your own JAR exploration mechanism. Class > files must be locatable from the JARs root to

RE: maven 2.0.7 assembly plugin

2007-11-06 Thread John Coleman
I have used the assembly plugin, but not like this. I don't think such a JAR (i.e. a JAR of JARS) will work unless you are loading the classes up by your own JAR exploration mechanism. Class files must be locatable from the JARs root to appear on the classpath. Perhaps you need to consider unpack