You just have to use the war packaging:
http://maven.apache.org/guides/mini/guide-webapp.html

And Maven will do most of the heavy work for you (building each separate
jar, and assembling all of it in your war file).

If you want to deploy this war to a Tomcat Container, just have a look at
the Cargo plugin:
http://cargo.codehaus.org/Maven2+plugin

You just have to bind it to your lifecycle phase (most probably install or
deploy, or integration-test, depending on what you want to do), and it will
deploy the war to your Tomcat Container.

As for being able to build independly each module, you can always do that,
but what's the point in doing so?
-- 
View this message in context: 
http://www.nabble.com/Building-multi-modules-individually-and-Copying-artifacts-tf1953804.html#a5358382
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to