maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: EAR Creation
Date Tue, 23 Aug 2011 05:58:18 GMT
Yes, you do this as a multi-module project. Anything else is simply
wrong (= will cause you problems) in Maven land.

/Anders

On Tue, Aug 23, 2011 at 07:31, Yuvaraj Vanarase
<yuvaraj.vanarase@synechron.com> wrote:
> Well, this seems to me little bit odd.
> Anyways, I believe you should have multi-module maven structure project. Where, one of
the modules/parent has EAR packaging and depends on other modules (one of them then would
have war packaging).
>
> For example,
>
> 1.
> You have a Parent POM which defines modules may be like:
>
> <modules>
>                <module>Module-EAR</module>
>                <module>Module-War</module>
>  </modules>
>
> 2.
> POM of Module EAR would have packaging as EAR and defines dependency of Module-War.
>
> 3.
> POM of Module War would have packaging as WAR.
>
>
> Regards,
> Yuvaraj
>
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years (link).
> - Celebrating 10 Years!
>
> -----Original Message-----
> From: anamika gupta [mailto:anamika@hcl.com]
> Sent: Tuesday, August 23, 2011 10:23 AM
> To: users@maven.apache.org
> Subject: EAR Creation
>
> Hi,
>
>   I have to create the ear file of an application which consists a war file
> of the same application.
>
> Can you please tell me what entries to write in pom.xml so that it creates
> the war file of the module and then package the same war file into the ear
> file.
>
> Any help would be greatly appreciated
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/EAR-Creation-tp4725469p4725469.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message