Remove plugin checks from default goal
These plugins already run using executions:
apache-rat:check (validate)
checkstyle:check (verify)
Added to verify using executions:
pmd:check
spotbugs:check
<build>
<!-- TODO: Add binary compatibility check when released. -->
- <defaultGoal>clean verify apache-rat:check checkstyle:check pmd:check spotbugs:check javadoc:javadoc</defaultGoal>
+ <defaultGoal>clean verify javadoc:javadoc</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<effort>Default</effort>
<excludeFilterFile>${numbers.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<excludeRoot>target/generated-sources</excludeRoot>
</excludeRoots>
</configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
