I just went through this a couple of weeks ago, and here's how we're
currently doing it at work. The ear project includes the war project
twice, once as a war, once as a POM. The war plugin is set to include
only the struts-tiles.jar and struts-taglibs.jar in the WEB-INF/lib.
At home, I've been
We have multiple modules in this configuration:
root
aim
core
web*
war*
aimwebservices*
projects
ear**
adinventory
base
jar
hibernate-har
ui
*Builds a warfile and not a jar
** Builds the earfile that
as you mention).
Justin
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: Wed 9/16/2009 6:17 PM
To: Maven Users List
Subject: War packaged in ear. How to exclude shared jars
We have multiple modules in this configuration:
root
aim
core
[mailto:justin.edel...@mtvstaff.com]
Sent: Wednesday, September 16, 2009 3:54 PM
To: Maven Users List
Subject: RE: War packaged in ear. How to exclude shared jars
I don't think it's possible to do this automatically - that would
require the war project to be aware that it was going to be included in
the ear