|
172 | 172 | <checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes> |
173 | 173 |
|
174 | 174 | <commons.pmd.version>3.14.0</commons.pmd.version> |
| 175 | + <commons.pmd-impl.version>6.36.0</commons.pmd-impl.version> |
175 | 176 | <commons.jacoco.version>0.8.7</commons.jacoco.version> |
176 | 177 | <commons.spotbugs.version>4.2.3</commons.spotbugs.version> |
177 | 178 | <commons.japicmp.version>0.15.3</commons.japicmp.version> |
|
203 | 204 | </dependency> |
204 | 205 | </dependencies> |
205 | 206 | </plugin> |
| 207 | + <plugin> |
| 208 | + <groupId>org.apache.maven.plugins</groupId> |
| 209 | + <artifactId>maven-pmd-plugin</artifactId> |
| 210 | + <version>${commons.pmd.version}</version> |
| 211 | + <dependencies> |
| 212 | + <dependency> |
| 213 | + <groupId>net.sourceforge.pmd</groupId> |
| 214 | + <artifactId>pmd-core</artifactId> |
| 215 | + <version>${commons.pmd-impl.version}</version> |
| 216 | + </dependency> |
| 217 | + <dependency> |
| 218 | + <groupId>net.sourceforge.pmd</groupId> |
| 219 | + <artifactId>pmd-java</artifactId> |
| 220 | + <version>${commons.pmd-impl.version}</version> |
| 221 | + </dependency> |
| 222 | + </dependencies> |
| 223 | + <configuration> |
| 224 | + <targetJdk>${maven.compiler.target}</targetJdk> |
| 225 | + <skipEmptyReport>false</skipEmptyReport> |
| 226 | + <rulesets> |
| 227 | + <ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset> |
| 228 | + </rulesets> |
| 229 | + </configuration> |
| 230 | + </plugin> |
206 | 231 | </plugins> |
207 | 232 | </pluginManagement> |
208 | 233 | <plugins> |
|
250 | 275 | <plugin> |
251 | 276 | <groupId>org.apache.maven.plugins</groupId> |
252 | 277 | <artifactId>maven-pmd-plugin</artifactId> |
253 | | - <version>${commons.pmd.version}</version> |
254 | | - <configuration> |
255 | | - <targetJdk>${maven.compiler.target}</targetJdk> |
256 | | - <skipEmptyReport>false</skipEmptyReport> |
257 | | - <analysisCache>true</analysisCache> |
258 | | - <rulesets> |
259 | | - <ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset> |
260 | | - </rulesets> |
261 | | - </configuration> |
262 | 278 | </plugin> |
263 | 279 |
|
264 | 280 | <!-- We need to add our test data files to rat exclusions --> |
|
322 | 338 | <plugin> |
323 | 339 | <groupId>org.apache.maven.plugins</groupId> |
324 | 340 | <artifactId>maven-pmd-plugin</artifactId> |
325 | | - <version>${commons.pmd.version}</version> |
326 | | - <configuration> |
327 | | - <targetJdk>${maven.compiler.target}</targetJdk> |
328 | | - <skipEmptyReport>false</skipEmptyReport> |
329 | | - <analysisCache>true</analysisCache> |
330 | | - <rulesets> |
331 | | - <ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset> |
332 | | - </rulesets> |
333 | | - </configuration> |
334 | 341 | </plugin> |
335 | 342 | <plugin> |
336 | 343 | <groupId>org.codehaus.mojo</groupId> |
|
0 commit comments