I see you're using Nabble, so you should be able to easily search this
list and find plenty of examples using the Assembly plugin. Search
using the term "maven-assembly-plugin".

Having said that, this discussion (from yesterday) might be helpful,
as it sounds similar to what you are looking for:

From: Mirko Leschikar <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>
Date: Oct 18, 2006 3:11 AM
Subject: Re: Aggregate m2 modules in a unique jar file

Wayne

On 10/19/06, Marek Chowaniok <[EMAIL PROTECTED]> wrote:

Hi
I have problem with creating jar project which has dependecy on another
projects.

I know that the 'jar project' will not include dependecy jars (as 'war
project' does) and I have read that the assembly plugin should do it
somehow.

I am playing with it few days, trying find out as much as possible but
without success.

Here are my projects :

REPORTGENERATOR
 |-ReportGeneratorMpress
 |-ReportGeneratorLogic
 |-ReportGeneratorHibernate
 |-ReportGeneratorCommon

I need to create 1 jar file with all those modules. This is done in
ReportGeneratorLogic (we used for building MyEclipseIde software and we are
developing in Eclipse).

How should look the result:

ReportGeneratorLogic.jar:
 |-com
      |-xyz
          |-report  (here are sources of those modules)
 |-lib (here are dependecy jars from all those modules)
 |-META-INF (meta-inf files)

Can you help me to create this jar file? Should I use assembly (and how) or
something else?
Where should I configure assembly plugin? in Parent pom or in
ReportGeneratoLogic pom.xml ?

Thanks in advance
--
View this message in context: 
http://www.nabble.com/adding-dependency-jars-in-jar-project-tf2472625.html#a6894579
Sent from the Maven - Users mailing list archive at Nabble.com.


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



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

Reply via email to