Skip to content

Commit

Permalink
Remove all/target/src and all/target/classes after building the all-i…
Browse files Browse the repository at this point in the history
…n-one JAR and Xref

.. so that IDEA does not add all/target/src  and all/target/classes to the source and class path.
  • Loading branch information
trustin committed Aug 5, 2013
1 parent 17b91f4 commit 0f80aad
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions all/pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 0f80aad

Please sign in to comment.