You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2007/12/04 00:55:57 UTC

[jira] Commented: (MWAR-129) WebRessource not filtered

    [ http://jira.codehaus.org/browse/MWAR-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115741 ] 

Olivier Lamy commented on MWAR-129:
-----------------------------------

A simple workaround for your attached it is to have :

<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<targetPath></targetPath>
<includes>
<include>param.jsp</include>
</includes>
</resource>
</webResources>

Note the empty <targetPath></targetPath> instead of <targetPath>.</targetPath>

> WebRessource not filtered
> -------------------------
>
>                 Key: MWAR-129
>                 URL: http://jira.codehaus.org/browse/MWAR-129
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-1
>         Environment: windows, maven 2.0.7
>            Reporter: Jean-Yves LEBLEU
>            Assignee: Olivier Lamy
>             Fix For: 2.1-alpha-2
>
>         Attachments: mwar_129.zip
>
>
> Previously Webressources were correctly filtered and are not filtered any more 
> See above extract from pom.xml 
>       <plugin>
>         <artifactId>maven-war-plugin</artifactId>
>         <version>2.0.2</version>
>         <configuration>
>           <warSourceDirectory>src/main/webapp</warSourceDirectory>
>           <webResources>
>             <resource>
>               <filtering>true</filtering>
>               <directory>src/main/webapp</directory>
>               <targetPath>.</targetPath>
>               <includes>
>                 <include>param.jsp</include>
>               </includes>
>             </resource>
>           </webResources>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira