Ensure 'mvn clean' removes the src directory
This commit is contained in:
parent
686756fa54
commit
b04e806bd9
20
all/pom.xml
20
all/pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user