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 looking forward to the answer to this one. You'd think a
simple problem like this would have a simple solution. Hopefully it does. I
still want to believe that maven can make my life easier instead of
following the inversion of difficulty pattern inherent in many java tools
and frameworks (ie. difficult tasks are simplified and simple tasks become
difficult).


Brandon Enochs wrote:
> 
> I'm trying to assemble a multi-module project with a single jar file for 
> all of the modules in my project and a lib directory with all of jar 
> files for my dependencies.  Does anyone know how to do this with the 
> assembly plugin?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven-2.0.7-assembly-plugin-tf4755367s177.html#a13738602
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to