Fix duplicated maven-antrun-plugin section
This commit is contained in:
@ -35,7 +35,6 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<inherited>true</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-sources</id>
|
||||
@ -52,6 +51,23 @@
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>pmd-clean</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<echo>PMD specific tasks: cleaning generated markdown</echo>
|
||||
<delete quiet="true">
|
||||
<fileset dir="${basedir}/src/site/markdown/rules/" includes="**/*.md" />
|
||||
<fileset dir="${basedir}/src/site/markdown/" includes="mergedruleset.xml" />
|
||||
<fileset dir="${basedir}/src/site/" includes="site.xml" />
|
||||
</delete>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
@ -77,30 +93,6 @@
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-build</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>pmd-clean</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<echo>PMD specific tasks: cleaning generated markdown</echo>
|
||||
<delete quiet="true">
|
||||
<fileset dir="${basedir}/src/site/markdown/rules/" includes="**/*.md" />
|
||||
<fileset dir="${basedir}/src/site/markdown/" includes="mergedruleset.xml" />
|
||||
<fileset dir="${basedir}/src/site/" includes="site.xml" />
|
||||
</delete>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
|
Reference in New Issue
Block a user