On Wed, Nov 26, 2008 at 10:22 AM, CheapLisa <[EMAIL PROTECTED]> wrote:
Does anyone have an *end-to-end* example (with files you can send or attach)
that will allow me to create a single jar with all dependencies using maven?
Lisa,
I believe that Sonatype's Maven book has exactly the example you're
looking for. The key piece is to build up all your artifacts with
dependencies as usual and then use the Maven assembly plugin using the
built-in descriptor "jar-with-dependencies". Turns out your particular
use case is actually very simple.
The example is covered from start to finish in chapter 4. Start with
http://books.sonatype.com/maven-book/reference/customizing.html#section-custom-packaged
and work backwards until you reach the point you're at.
Hope this helps,
- John
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]