Maven Resource Plugin Not Working

below is my implementation of the resource plugin in my maven assembly. according to http://maven.apache.org/plugins/maven-resources-plugin/index.html this configuration should be good, but it seems to ignore the stanza exception. I just want the property files to be copied and nothing else, but when I run the assembly, I get all xml, xsl and any other file in the resource directory. I missed something here or is this a bug with the resource plugin.

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration> 
    <outputDirectory>${user.home}/cms/conf</outputDirectory>
    <resources>
        <resource>
        <directory>${basedir}/src/main/resources</directory>
        <includes>
            <include>**/*.properties</include>
        </includes>
        <excludes>
            <exclude>**/*.*</exclude>
        </excludes>
        <filtering>true</filtering>
        </resource>
    </resources>
</configuration>
</plugin>
+5
source share
1 answer

, , . maven: 2.0.2 , , . , , 3.0.3, , . , .

0

All Articles