I've seen this suggested and it works for me:

http://mojo.codehaus.org/dependency-maven-plugin/introduction.html

The idea is to have a third project upon which war1 and war2 depend.  When war1 
and war2 are built, they unpack the contents of the common project into the 
webapp.

I've also see the Cargo uberwar / merge war functionality suggested:

http://docs.codehaus.org/display/CARGO/Merging+WAR+files

K.C.

-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 11:08 AM
To: [email protected]
Subject: [m202] common resources between 2 war modules?


I have 2 different war modules:
./servlets/war1/pom.xml
./servlets/war2/pom.xml

I have a set of resources that I want to share between both of them, like 
messages.properties, how can I do this please?

---
Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

Washington Mutual (WAMU) (Emeryville, California)
---



---------------------------------------------------------------------
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