If you want to make a war of one of the projects, make a packaging war of it. 
It will copy all dependencies as jars inside the WEB-INF/lib directory, 
effectively creating one WAR deployment for deployment to remote repositories 
or application servers (Which deploy do you mean?).

Also, copy your web.xml to the war project into src/main/webapp/WEB-INF to get 
it in the right place in the war file.

Is this what you are intending to do, or did I get the question wrong?

Hth,

Nick Stolwijk


-----Original Message-----
From: dddzzz [mailto:[EMAIL PROTECTED]
Sent: Fri 1/4/2008 5:32 PM
To: users@maven.apache.org
Subject: Deploying multi project as single war
 

Is it possible to deploy multi project as single war. Projects structure
looks similar to this:

rootProject (packaging POM)
-commonRootProject (packaging POM)
--commonCoreProject (packaging JAR - for now)
--...
-serverRootProject (packaging POM)
--serverCoreProject (packaging JAR - for now)
--...
-clientRootProject (packaging POM)
--clientCoreProject (packaging JAR - for now)
--...

How can I make a single WAR from this projects with maven2. web.xml is in
one of projects for now.
-- 
View this message in context: 
http://www.nabble.com/Deploying-multi-project-as-single-war-tp14619903s177p14619903.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to