Maven clean plugin doesn't filter resources from exclude list
-------------------------------------------------------------
Key: MNG-3302
URL: http://jira.codehaus.org/browse/MNG-3302
Project: Maven 2
Issue Type: Bug
Components: Plugins and Lifecycle
Affects Versions: 2.0.7
Reporter: Vladimir Sosnin
For example you want to delete content of folder but want to keep folder itself
and it's SCM (e.g. SVN) information. Following configuration for
"maven-maven-clean" plugin deletes all plain files under ".svn" directory and
simply keeps empty subdirs. Thus, making update command impossible.
<build>
...
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<verbose>true</verbose>
<fileset>
<directory>logic/src/test/generated/resources
</directory>
<excludes>
<exclude>.svn/**/*</exclude>
</excludes>
<includes>
<include>**/*</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
--
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