@@ -337,6 +337,15 @@ limitations under the License.
337
337
<pluginManagement >
338
338
<plugins >
339
339
<!-- set versions of common plugins for reproducibility, ordered alphabetically -->
340
+ <plugin >
341
+ <groupId >org.apache.maven.plugins</groupId >
342
+ <artifactId >maven-checkstyle-plugin</artifactId >
343
+ <version >2.17</version >
344
+ <configuration >
345
+ <configLocation >config/maven_checks.xml</configLocation >
346
+ <headerLocation >https://raw.github.com/codehaus-plexus/plexus-pom/master/src/main/resources/config/plexus-header.txt</headerLocation >
347
+ </configuration >
348
+ </plugin >
340
349
<plugin >
341
350
<groupId >org.apache.maven.plugins</groupId >
342
351
<artifactId >maven-clean-plugin</artifactId >
@@ -381,6 +390,21 @@ limitations under the License.
381
390
<artifactId >maven-plugin-plugin</artifactId >
382
391
<version >3.5.1</version >
383
392
</plugin >
393
+ <plugin >
394
+ <groupId >org.apache.maven.plugins</groupId >
395
+ <artifactId >maven-pmd-plugin</artifactId >
396
+ <version >3.8</version >
397
+ <configuration >
398
+ <targetJdk >${maven.compiler.source} </targetJdk >
399
+ <rulesets >
400
+ <ruleset >rulesets/maven.xml</ruleset >
401
+ </rulesets >
402
+ <excludeRoots >
403
+ <excludeRoot >${project.build.directory} /generated-sources/modello</excludeRoot >
404
+ <excludeRoot >${project.build.directory} /generated-sources/plugin</excludeRoot >
405
+ </excludeRoots >
406
+ </configuration >
407
+ </plugin >
384
408
<plugin >
385
409
<groupId >org.apache.maven.plugins</groupId >
386
410
<artifactId >maven-project-info-reports-plugin</artifactId >
@@ -534,11 +558,6 @@ limitations under the License.
534
558
<plugin >
535
559
<groupId >org.apache.maven.plugins</groupId >
536
560
<artifactId >maven-checkstyle-plugin</artifactId >
537
- <version >2.17</version >
538
- <configuration >
539
- <configLocation >config/maven_checks.xml</configLocation >
540
- <headerLocation >https://raw.github.com/codehaus-plexus/plexus-pom/master/src/main/resources/config/plexus-header.txt</headerLocation >
541
- </configuration >
542
561
<reportSets >
543
562
<reportSet >
544
563
<id >default</id >
@@ -551,17 +570,6 @@ limitations under the License.
551
570
<plugin >
552
571
<groupId >org.apache.maven.plugins</groupId >
553
572
<artifactId >maven-pmd-plugin</artifactId >
554
- <version >3.8</version >
555
- <configuration >
556
- <targetJdk >${maven.compiler.source} </targetJdk >
557
- <rulesets >
558
- <ruleset >rulesets/maven.xml</ruleset >
559
- </rulesets >
560
- <excludeRoots >
561
- <excludeRoot >${project.build.directory} /generated-sources/modello</excludeRoot >
562
- <excludeRoot >${project.build.directory} /generated-sources/plugin</excludeRoot >
563
- </excludeRoots >
564
- </configuration >
565
573
</plugin >
566
574
<plugin >
567
575
<groupId >org.codehaus.mojo</groupId >
0 commit comments