You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ra...@jpmchase.com on 2007/01/22 21:11:20 UTC

How to have war exploded into my ear file?

Hi All

I have multi module projcte like

        Project
                |_ ejb_project
                        |_pom.xml
                |_ java_project
                        |_pom.xml
                |_ web_project
                        |_pom.xml
                |_ ear
                        |_pom.xml
        |_ pom.xml


This works fine, and i create ear in ear/target directory with all the 
subprojects (ejb,java & web project) , web project is being added as 
web.war.

Is there a way to add web project as exploded directory instead of war ???



Thanks,
Raghurajan Gurunathan



-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.

Re: How to have war exploded into my ear file?

Posted by Stephane Nicoll <st...@gmail.com>.
Hey,

On 1/22/07, raghurajan.x.gurunathan@jpmchase.com
<ra...@jpmchase.com> wrote:
> Hi All
>
> I have multi module projcte like
>
>         Project
>                 |_ ejb_project
>                         |_pom.xml
>                 |_ java_project
>                         |_pom.xml
>                 |_ web_project
>                         |_pom.xml
>                 |_ ear
>                         |_pom.xml
>         |_ pom.xml
>
>
> This works fine, and i create ear in ear/target directory with all the
> subprojects (ejb,java & web project) , web project is being added as
> web.war.
>
> Is there a way to add web project as exploded directory instead of war ???

Sure. <unpack>true</unpack>
http://maven.apache.org/plugins/maven-ear-plugin/examples/unpacking-a-module.html

So you should add a module entry for your war project and set the
exploded property to true.

HTH,
Stéphane

>
>
> Thanks,
> Raghurajan Gurunathan
>
>
>
> -----------------------------------------
> This transmission may contain information that is privileged,
> confidential, legally privileged, and/or exempt from disclosure
> under applicable law.  If you are not the intended recipient, you
> are hereby notified that any disclosure, copying, distribution, or
> use of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED.  Although this transmission and
> any attachments are believed to be free of any virus or other
> defect that might affect any computer system into which it is
> received and opened, it is the responsibility of the recipient to
> ensure that it is virus free and no responsibility is accepted by
> JPMorgan Chase & Co., its subsidiaries and affiliates, as
> applicable, for any loss or damage arising in any way from its use.
> If you received this transmission in error, please immediately
> contact the sender and destroy the material in its entirety,
> whether in electronic or hard copy format. Thank you.
>
>

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