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 2008/02/17 23:39:28 UTC
[jira] Closed: (MWAR-144) Custom filter list does not work
[ http://jira.codehaus.org/browse/MWAR-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MWAR-144.
-----------------------------
Resolution: Fixed
fix in rev 628569.
> Custom filter list does not work
> --------------------------------
>
> Key: MWAR-144
> URL: http://jira.codehaus.org/browse/MWAR-144
> Project: Maven 2.x War Plugin
> Issue Type: Bug
> Affects Versions: 2.1-alpha-1
> Reporter: Trygve Laugstol
> Assignee: Olivier Lamy
> Fix For: 2.1-alpha-2
>
>
> When specifying filters on the plugin (not inside <project>) like this:
> {code}
> <configuration>
> <resource>
> <directory>polopoly-resources/config_ptest</directory>
> <targetPath>WEB-INF/config</targetPath>
> </resource>
> <warName>ptest</warName>
> <workDirectory>target/ptest-work</workDirectory>
> <filters>
> <filter>src/main/filters/filter.ptest.properties</filter>
> </filters>
> <webResources>
> <resource>
> <directory>src/main/resources</directory>
> <targetPath>WEB-INF/classes</targetPath>
> <filtering>true</filtering>
> </resource>
> </webResources>
> {code}
> the list of filters is ignored. If I move the <filters> list to inside the <project> they work as expected. The documentation explicitly say that this is possible under the section "Filtering webResources".
--
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