The comma separated list of tokens doesn't work with the property 
<warSourceExcludes>.
--------------------------------------------------------------------------------------

                 Key: MWAR-62
                 URL: http://jira.codehaus.org/browse/MWAR-62
             Project: Maven 2.x War Plugin
          Issue Type: Bug
         Environment: windows XP
            Reporter: Alexandre Vivien


The comma separated list of tokens doesn't work with the property 
<warSourceExcludes>. It doesn't understand it, this property only work with one 
token.

example :
This configuration doesn't exclude the file mail_config.propertires.dev and the 
file mail_config.propertires.prod from the web directory.
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <configuration>
    <warSourceDirectory>web</warSourceDirectory>
    <warSourceExcludes>**/*.dev,**/*.prod</warSourceExcludes>
  </configuration>
</plugin>

but the configuration below exclude the file mail_config.propertires.dev
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <configuration>
    <warSourceDirectory>web</warSourceDirectory>
    <warSourceExcludes>**/*.dev</warSourceExcludes>
  </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

        

Reply via email to