"excludes" on ceased to work on  resources from warSourceDirectoryin 2.1.1 
(worked in 2.0.1)
---------------------------------------------------------------------------------------------

                 Key: MWAR-261
                 URL: https://jira.codehaus.org/browse/MWAR-261
             Project: Maven 2.x WAR Plugin
          Issue Type: Bug
    Affects Versions: 2.1.1
            Reporter: Oleksandr Alesinskyy


I have a following configuration of the plugin
{code:xml}
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-war-plugin</artifactId>
    <version>${war.plugin.version}</version>
    <configuration>
        <warSourceDirectory>src/main/webapp</warSourceDirectory>
        <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
        <excludes>
            **/tech_*.properties, **/*log4j*.properties,
            **/pom.xml, **/JasperReports/*.*,
            **/app_ffe_cryptography.keystore
        </excludes>
        <webResources>
            <resource>
                <directory>${basedir}/target/xsd-assembly/</directory>
                <targetPath>/</targetPath>
                <includes>
                    <include>xsd/**/*.xsd</include>
                    <include>wsdl/**/*.wsdl</include>
                </includes>
            </resource>
        </webResources>
    </configuration>
</plugin>
{code}

If war.plugin.version is set to 2.0.1 then resulting war does not contain 
tech_*.properties files in its WEB-INF/classes directory.
If war.plugin.version is set to 2.1.1 then files are present. 

As far as I can see this change in the behavior occurred silently - it is not 
mentioned in anywhere changelogs.
Is it done intentionally?
 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to