I've posted the answer to this a few time on this user list

A 

-----Original Message-----
From: Srinivas Pavani [mailto:[EMAIL PROTECTED] 
Sent: 13 July 2006 19:51
To: users@maven.apache.org
Subject: m2 multiple war files with some common code


Can someone shed some light on how to setup maven2 to allow sharing some
common code across multiple war files? Given below is an example of how
I would like to setup multiple  modules but I am not sure how the war
generation can occur when webapp contents from common-module are needed
for war-module1, war-module2 and war-module3.

/parent-project
/parent-project/common-module
/parent-project/common-module/src/main/java
/parent-project/common-module/src/main/resources
/parent-project/common-module/src/main/webapp                          

/parent-project/war-module1
/parent-project/war-module1/src/main/java
/parent-project/war-module1/src/main/resources
/parent-project/war-module1/src/main/webapp

/parent-project/war-module2
...

/parent-project/war-module3
...




--
View this message in context:
http://www.nabble.com/m2-multiple-war-files-with-some-common-code-tf1939
224.html#a5314384
Sent from the Maven - Users forum at Nabble.com.


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


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to