Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
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> <filesets> <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>
Attachments
Attachments
Issue Links
- depends upon
-
MSHARED-61 Base directory of file set is not excluded from deletion if it contains excluded paths
- Closed
-
MSHARED-62 Excludes are ignored for deletion if followSymlinks=false
- Closed