Reputation: 58103
I am using Eclipse/maven plugin. I want to delete external file with aboslute path, i have following example but it claims to delete only relative files which resides inside the project
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<filesets>
<fileset>
<directory>some/relative/path</directory>
<includes>
<include>**/*.tmp</include>
<include>**/*.log</include>
</includes>
<excludes>
<exclude>**/important.log</exclude>
<exclude>**/another-important.log</exclude>
</excludes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
Upvotes: 4
Views: 7894
Reputation: 58103
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<followSymLinks>false</followSymLinks>
<filesets>
<fileset>
<directory>D:\apache-tomcat-6.0.24\webapps\cat360-web-1.0.0</directory>
</fileset>
</filesets>
</configuration>
</plugin>
Upvotes: 7