Ensure 'mvn clean' removes the src directory

This commit is contained in:
Trustin Lee 2012-06-13 13:28:18 +09:00
parent 686756fa54
commit b04e806bd9

View File

@ -94,6 +94,26 @@
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>clean-src</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}/src</directory>
<followSymlinks>false</followSymlinks>
<useDefaultExcludes>false</useDefaultExcludes>
</fileset>
<fileset>
<directory>${project.basedir}/target</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</execution>
<execution>
<id>clean-all</id>
<phase>generate-resources</phase>