Nestor,
 
You will have to create a top level aggregator project of packaging: pom.
 
Then you can have 2 sub modules with 1 of the EAR and the other WAR packaging. 
At least that is how I setup the maven project on my end. The format is 1 
archive for 1 pom file, you cannot really work around this.
 
Thanks,
-Guillaume

________________________________

From: Néstor Boscán [mailto:[EMAIL PROTECTED]
Sent: Wed 18/06/2008 2:24 PM
To: users@maven.apache.org
Subject: How to have two poms on the same project to generate WAR/EAR?



Hi

I need to generate ear files from web applications. So what I understood is
that I need to pom.xml files. One for the project that generates the war
file an another one for the ear files that includes the war files. Is there
a way to have this two pom.xml on the same project and not create two
different projects?. I know is simple, but I want to manage as little
projects as possible.

Regards,

Néstor Boscán


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






____________________________________________________________________________________________________
This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.

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

Reply via email to