Skip to content

Commit

Permalink
删除空的generated-sources目录,以防IntelliJ IDEA的项目文件发生不必要的变化
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zhou committed Jul 12, 2012
1 parent 596dbf5 commit 5609dce
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -587,13 +587,27 @@
<echo message="java source version: ${java.version}" />
<echo message="java target version: ${java.version}" />
<echo message="java source charset: ${java.encoding}" />
<!-- 删除空的generated-sources目录,以防IntelliJ IDEA的项目文件发生不必要的变化 -->
<delete includeemptydirs="true">
<fileset dir="${project.build.directory}/generated-sources"
erroronmissingdir="false">
<type type="dir" />
</fileset>
</delete>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.4</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 5609dce

Please sign in to comment.