File tree Expand file tree Collapse file tree 2 files changed +48
-13
lines changed Expand file tree Collapse file tree 2 files changed +48
-13
lines changed Original file line number Diff line number Diff line change 11** /target /**
2- .project
3- .classpath
4- .settings /
5- .svn /
6- # Intellij
7- * .ipr
82* .iml
9- .idea
10- ! .idea /icon.png
3+ * .ipr
114.DS_Store
12- /bootstrap
13- /dependencies.xml
14- .java-version
155.checkstyle
6+ .classpath
167.factorypath
8+ .idea
9+ ! .idea /icon.png
10+ .java-version
11+ .project
12+ .settings /
13+ .svn /
1714.vscode /
18- repo /
19- /* .svg
15+ /** /.cache
16+ /* .svg
17+ /bootstrap
18+ /dependencies.xml
19+ repo /
Original file line number Diff line number Diff line change @@ -799,17 +799,38 @@ under the License.</licenseText>
799799 <plugin >
800800 <groupId >org.apache.maven.plugins</groupId >
801801 <artifactId >maven-pmd-plugin</artifactId >
802+ <configuration >
803+ <analysisCache >true</analysisCache >
804+ <analysisCacheLocation >${project.basedir} /.pmd/.cache</analysisCacheLocation >
805+ <excludeFromFailureFile >${project.basedir} /.pmd/exclude.properties</excludeFromFailureFile >
806+ <minimumPriority >2</minimumPriority >
807+ <printFailingErrors >true</printFailingErrors >
808+ </configuration >
802809 <dependencies >
803810 <dependency >
804811 <groupId >net.sourceforge.pmd</groupId >
805812 <artifactId >pmd-core</artifactId >
806813 <version >7.12.0</version >
807814 </dependency >
808815 </dependencies >
816+ <executions >
817+ <execution >
818+ <id >maven-pmd-plugin</id >
819+ <goals >
820+ <goal >check</goal >
821+ </goals >
822+ <phase >verify</phase >
823+ </execution >
824+ </executions >
809825 </plugin >
810826 </plugins >
811827 </pluginManagement >
812828 <plugins >
829+ <!-- why profile not working? -->
830+ <plugin >
831+ <groupId >org.apache.maven.plugins</groupId >
832+ <artifactId >maven-pmd-plugin</artifactId >
833+ </plugin >
813834 <plugin >
814835 <groupId >io.github.olamy.maven.plugins</groupId >
815836 <artifactId >jacoco-aggregator-maven-plugin</artifactId >
@@ -1170,5 +1191,19 @@ under the License.</licenseText>
11701191 </plugins >
11711192 </build >
11721193 </profile >
1194+ <profile >
1195+ <id >pmd</id >
1196+ <activation >
1197+ <activeByDefault >true</activeByDefault >
1198+ </activation >
1199+ <build >
1200+ <plugins >
1201+ <plugin >
1202+ <groupId >org.apache.maven.plugins</groupId >
1203+ <artifactId >maven-pmd-plugin</artifactId >
1204+ </plugin >
1205+ </plugins >
1206+ </build >
1207+ </profile >
11731208 </profiles >
11741209</project >
You can’t perform that action at this time.
0 commit comments