Fix duplicated maven-antrun-plugin section
This commit is contained in:
@ -35,7 +35,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<inherited>true</inherited>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>generate-sources</id>
|
<id>generate-sources</id>
|
||||||
@ -52,6 +51,23 @@
|
|||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</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>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
@ -77,30 +93,6 @@
|
|||||||
<groupId>net.sourceforge.pmd</groupId>
|
<groupId>net.sourceforge.pmd</groupId>
|
||||||
<artifactId>pmd-build</artifactId>
|
<artifactId>pmd-build</artifactId>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
Reference in New Issue
Block a user