Finiky filter include expressions to filter web.xml 
----------------------------------------------------

                 Key: MWAR-165
                 URL: http://jira.codehaus.org/browse/MWAR-165
             Project: Maven 2.x War Plugin
          Issue Type: Bug
    Affects Versions: 2.1-alpha-1
         Environment: Ubuntu 8.04 Linux, JDK 1.6_07
            Reporter: Alex Karasulu


Include expressions which directly reference the WEB-INF in <directory> tag 
does not match the web.xml file to filter it.  If you go one step up and then 
wild card down for XML files it works.  For example this did not work:

              <directory>src/main/webapp/WEB-INF</directory>
              <includes>
                <include>web.xml</include>
              </includes>

The following include pattern variations do not work either:

   *.xml
   **/*.xml
   */*.xml
   */web.xml
   **/web.xml

But this does work:

              <directory>src/main/webapp</directory>
              <includes>
                <include>**/web.xml</include>
              </includes>

as well as **/*.xml etc.  

-- 
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