File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1616.factorypath
1717.vscode /
1818repo /
19- /* .svg
19+ /* .svg
20+ /** /.cache
Original file line number Diff line number Diff line change @@ -799,17 +799,37 @@ 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+ <minimumPriority >1</minimumPriority >
806+ <printFailingErrors >true</printFailingErrors >
807+ </configuration >
802808 <dependencies >
803809 <dependency >
804810 <groupId >net.sourceforge.pmd</groupId >
805811 <artifactId >pmd-core</artifactId >
806812 <version >7.12.0</version >
807813 </dependency >
808814 </dependencies >
815+ <executions >
816+ <execution >
817+ <id >maven-pmd-plugin</id >
818+ <goals >
819+ <goal >check</goal >
820+ </goals >
821+ <phase >verify</phase >
822+ </execution >
823+ </executions >
809824 </plugin >
810825 </plugins >
811826 </pluginManagement >
812827 <plugins >
828+ <!-- why profile not working? -->
829+ <plugin >
830+ <groupId >org.apache.maven.plugins</groupId >
831+ <artifactId >maven-pmd-plugin</artifactId >
832+ </plugin >
813833 <plugin >
814834 <groupId >io.github.olamy.maven.plugins</groupId >
815835 <artifactId >jacoco-aggregator-maven-plugin</artifactId >
@@ -1170,5 +1190,19 @@ under the License.</licenseText>
11701190 </plugins >
11711191 </build >
11721192 </profile >
1193+ <profile >
1194+ <id >pmd</id >
1195+ <activation >
1196+ <activeByDefault >true</activeByDefault >
1197+ </activation >
1198+ <build >
1199+ <plugins >
1200+ <plugin >
1201+ <groupId >org.apache.maven.plugins</groupId >
1202+ <artifactId >maven-pmd-plugin</artifactId >
1203+ </plugin >
1204+ </plugins >
1205+ </build >
1206+ </profile >
11731207 </profiles >
11741208</project >
You can’t perform that action at this time.
0 commit comments