Your situation is the inverse, you need to have 3 projects :
- an EJB-JAR
- a WAR for presentation
-an EAR who have the ejb-jar and the war as dependencies (take a look at
the ear plugin docs)
Yoou can use multiproject to generate all these artifacts
(3 kind of artifact => 3 project :
http://wiki.codehaus.org/maven/WhyYouCantCreateMultipleArtifactsInOneProject)
Nicolas,
"Veerasamy, Thirumalai (Cognizant)" <[EMAIL PROTECTED]>
23/03/2004 11:21
Veuillez r�pondre � "Maven Users List"
Pour : "Maven Users List" <[EMAIL PROTECTED]>
cc :
Objet : Need to create two ear files (artifacts) in a single project
Hi,
I need to create two ear files in one single project. The project contains, one EJB
Module and one Presentation module. I want
to package one ear file with just EJB module and another will have EJB Stubs and the
presentation module. One ear would be deployed in one WAS server and another one would
be
deployed in IBM Portal Server.
How do I achieve this?
Regards,
Thiru---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]