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


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

        

Reply via email to