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 2006/08/04 00:12:10 UTC

war plugin, webResources-overriding default Location

Hi all 

I'm trying to override the webResources default location by adding 
<targetPath>, but this is not working form, the welogic.xml is being still 
copied into the Root directory, 

is there some thing i'm doing wrong here, please help

                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-war-plugin</artifactId>
                        <version>2.0</version>
                        <configuration>
                                <warName>${pom.artifactId}</warName>
                                <webResources>
                                                <resource>
 <directory>${basedir}/../../config</directory>
 <targetPath>WEB-INF</targetPath>
                                                        <includes>
 <include>weblogic.xml</include>
                                                        </includes>
                                                </resource>
                                </webResources>
                        </configuration>
                </plugin>
        




Thanks,




-----------------------------------------
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: war plugin, webResources-overriding default Location

Posted by Pete Marvin King <la...@gmail.com>.
  use version 2.1-SNAPSHOT


raghurajan.x.gurunathan@jpmchase.com wrote:
> Hi all 
>
> I'm trying to override the webResources default location by adding 
> <targetPath>, but this is not working form, the welogic.xml is being still 
> copied into the Root directory, 
>
> is there some thing i'm doing wrong here, please help
>
>                 <plugin>
>                         <groupId>org.apache.maven.plugins</groupId>
>                         <artifactId>maven-war-plugin</artifactId>
>                         <version>2.0</version>
>                         <configuration>
>                                 <warName>${pom.artifactId}</warName>
>                                 <webResources>
>                                                 <resource>
>  <directory>${basedir}/../../config</directory>
>  <targetPath>WEB-INF</targetPath>
>                                                         <includes>
>  <include>weblogic.xml</include>
>                                                         </includes>
>                                                 </resource>
>                                 </webResources>
>                         </configuration>
>                 </plugin>
>         
>
>
>
>
> Thanks,
>
>
>
>
> -----------------------------------------
> 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