1
0

Enable PMD check in default Maven goal

This commit is contained in:
Gary Gregory
2023-11-25 11:41:45 -05:00
parent 1b1879d35d
commit b9785548d6
3 changed files with 27 additions and 8 deletions

13
pom.xml
View File

@@ -197,7 +197,7 @@ under the License.
<build>
<!-- TODO spotbugs:check -->
<!-- TODO replace clirr:check with japicmp:cmp -->
<defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc checkstyle:check</defaultGoal>
<defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc checkstyle:check pmd:check</defaultGoal>
<plugins>
<!--
@@ -534,6 +534,17 @@ under the License.
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>1.8</targetJdk>
<rulesets>
<ruleset>${basedir}/pmd.xml</ruleset>
</rulesets>
</configuration>
</plugin>
</plugins>
</build>