See http://jira.codehaus.org/browse/MEAR-60 for a suggested improvement to the 
'downside' of this solution. Please vote for this issue if you want it fixed.

Regards,
Marcel

----- Original Message ----
From: Manos Batsis <[EMAIL PROTECTED]>
To: Maven Users List <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2007 6:50:09 PM
Subject: Re: How to generate manifest ClassPath entries for a web project?

Johan Eltes wrote:
> I'd like have all dependent jars of all modules of my enterprise 
> application bundled in the ear - not in WEB-INF/lib directories of my 
> war files. Is this possible with maven 2? I would also like maven to 
> generate the required ClassPath entries in the war manifest file. I've 
> found out how to accomplish the same tasks for ejb projects, but haven't 
> found any hints on war projects.

md4j-quickstarter does that for it's ejb and war modules. The downside 
is you have to duplicate deps in the ear pom. See the ear and war pom in 
[1] and [2] respectively.

[1] 
http://md4j.cvs.sourceforge.net/md4j/md4j-quickstarter-mvn/ear/pom.xml?view=markup
[2] 
http://md4j.cvs.sourceforge.net/md4j/md4j-quickstarter-mvn/web/pom.xml?view=markup


hth,

Manos

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






       
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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

Reply via email to