Remove all/target/src and all/target/classes after building the all-in-one JAR and Xref

.. so that IDEA does not add all/target/src  and all/target/classes to the source and class path.
This commit is contained in:
Trustin Lee 2013-08-05 17:02:17 +09:00
parent 17b91f416d
commit 0f80aad929

View File

@ -347,6 +347,24 @@
<locale>en_US</locale>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>clean-source-directory</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<target>
<delete dir="${project.build.directory}/src" quiet="true"/>
<delete dir="${project.build.directory}/classes" quiet="true"/>
</target>
</configuration>
</plugin>
</plugins>
</build>
</project>