Update PMD version from 3.9.0 to 3.12.0.
Update dependency version to v6.19.0.
<commons.encoding>UTF-8</commons.encoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
- <numbers.pmd.version>3.9.0</numbers.pmd.version>
+ <numbers.pmd.version>3.12.0</numbers.pmd.version>
+ <numbers.pmd.dep.version>6.19.0</numbers.pmd.dep.version>
<numbers.checkstyle.version>3.0.0</numbers.checkstyle.version>
<numbers.checkstyle.dep.version>8.20</numbers.checkstyle.dep.version>
<numbers.mathjax.version>2.7.2</numbers.mathjax.version>
<excludeFilterFile>${numbers.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${numbers.pmd.version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.pmd</groupId>
+ <artifactId>pmd-core</artifactId>
+ <version>${numbers.pmd.dep.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.pmd</groupId>
+ <artifactId>pmd-java</artifactId>
+ <version>${numbers.pmd.dep.version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <!-- TODO: remove this when PMD has been fixed. -->
+ <failOnViolation>false</failOnViolation>
+ <targetJdk>${maven.compiler.target}</targetJdk>
+ <skipEmptyReport>false</skipEmptyReport>
+ <analysisCache>true</analysisCache>
+ <rulesets>
+ <ruleset>${numbers.parent.dir}/src/main/resources/pmd/pmd-ruleset.xml</ruleset>
+ </rulesets>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
