On Sat, 2008-01-26 at 06:48 +0100, Thomas Chang wrote:
> Hi all,
>    
>   assumed we have a project with packaging jar. When we build the project 
> with "mvn package", a jar is build. But the dependencies in the project are 
> not included in the built jar. Is it possible to include the dependencies in 
> the built jar?

What do you mean?

As far as I know, while the .war and .ear formats allow jars to be
nested inside jars, there is no such convention for a .jar file.

If you use a maven package type of "war" or "ear" in the pom, then
a .war or .ear does get created, and the dependencies are present.

Regards,
Simon


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

Reply via email to