You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by António Mota <am...@gmail.com> on 2008/04/10 22:45:11 UTC

war overlaying

Hello:

I'm trying to do some war overlay but I can't seem to include just the files
I want using the include tag on the overlay. In this case I only want what's
under WEB-INF, but what I get is everything that's inside the war.

           <overlay>
             <groupId>birt-runtime</groupId>
             <artifactId>runtime</artifactId>
             <includes>
                <include>WEB-INF/**</include>
              </includes>
           </overlay>

and

     <dependency>
            <groupId>birt-runtime</groupId>
            <artifactId>runtime</artifactId>
            <type>war</type>
            <scope>runtime</scope>
            <version>${birtVersion}</version>
        </dependency>

The only way I can get what I want is to use

        <dependentWarIncludes>WEB-INF/**</dependentWarIncludes>

but that won't work if I have two different overlays with different
includes.


Thanks all.

Re: war overlaying

Posted by António Mota <am...@gmail.com>.
But that seems such a basic functionality of the plugin that is hard to
believe it's a bug and no one ever noticed... I'm going to wait to see of
somebody else had the same problem, if not I'll do like you said.

Thanks for your response.


On 10/04/2008, Brian E. Fox <br...@reply.infinity.nu> wrote:
>
> It sounds like a bug to me. File a Jira in the MWAR plugin. It will at
> least get the attention of the war developers.
>
>
> -----Original Message-----
> From: António Mota [mailto:amsmota@gmail.com]
> Sent: Thursday, April 10, 2008 4:45 PM
> To: users@maven.apache.org
> Subject: war overlaying
>
> Hello:
>
> I'm trying to do some war overlay but I can't seem to include just the
> files
> I want using the include tag on the overlay. In this case I only want
> what's
> under WEB-INF, but what I get is everything that's inside the war.
>
>            <overlay>
>              <groupId>birt-runtime</groupId>
>              <artifactId>runtime</artifactId>
>              <includes>
>                 <include>WEB-INF/**</include>
>               </includes>
>            </overlay>
>
> and
>
>      <dependency>
>             <groupId>birt-runtime</groupId>
>             <artifactId>runtime</artifactId>
>             <type>war</type>
>             <scope>runtime</scope>
>             <version>${birtVersion}</version>
>         </dependency>
>
> The only way I can get what I want is to use
>
>         <dependentWarIncludes>WEB-INF/**</dependentWarIncludes>
>
> but that won't work if I have two different overlays with different
> includes.
>
>
> Thanks all.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Melhores cumprimentos / Beir beannacht / Best regards

António Manuel dos Santos Mota

mobile PT: +351919623568 (deprecated)
mobile IE: +353(0)877718363
mail: amsmota@gmail.com
skype: amsmota
msn: antoniomsmota@hotmail.com
linkedin: www.linkedin.com/in/amsmota

RE: war overlaying

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
It sounds like a bug to me. File a Jira in the MWAR plugin. It will at least get the attention of the war developers.

-----Original Message-----
From: António Mota [mailto:amsmota@gmail.com] 
Sent: Thursday, April 10, 2008 4:45 PM
To: users@maven.apache.org
Subject: war overlaying

Hello:

I'm trying to do some war overlay but I can't seem to include just the files
I want using the include tag on the overlay. In this case I only want what's
under WEB-INF, but what I get is everything that's inside the war.

           <overlay>
             <groupId>birt-runtime</groupId>
             <artifactId>runtime</artifactId>
             <includes>
                <include>WEB-INF/**</include>
              </includes>
           </overlay>

and

     <dependency>
            <groupId>birt-runtime</groupId>
            <artifactId>runtime</artifactId>
            <type>war</type>
            <scope>runtime</scope>
            <version>${birtVersion}</version>
        </dependency>

The only way I can get what I want is to use

        <dependentWarIncludes>WEB-INF/**</dependentWarIncludes>

but that won't work if I have two different overlays with different
includes.


Thanks all.

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