File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1616.factorypath
1717.vscode /
1818repo /
19- /* .svg
19+ /* .svg
20+ /** /pmd.cache
Original file line number Diff line number Diff line change @@ -799,17 +799,36 @@ 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+ <minimumPriority >1</minimumPriority >
805+ <printFailingErrors >true</printFailingErrors >
806+ </configuration >
802807 <dependencies >
803808 <dependency >
804809 <groupId >net.sourceforge.pmd</groupId >
805810 <artifactId >pmd-core</artifactId >
806811 <version >7.12.0</version >
807812 </dependency >
808813 </dependencies >
814+ <executions >
815+ <execution >
816+ <id >maven-pmd-plugin</id >
817+ <goals >
818+ <goal >check</goal >
819+ </goals >
820+ <phase >verify</phase >
821+ </execution >
822+ </executions >
809823 </plugin >
810824 </plugins >
811825 </pluginManagement >
812826 <plugins >
827+ <!-- why profile not working? -->
828+ <plugin >
829+ <groupId >org.apache.maven.plugins</groupId >
830+ <artifactId >maven-pmd-plugin</artifactId >
831+ </plugin >
813832 <plugin >
814833 <groupId >io.github.olamy.maven.plugins</groupId >
815834 <artifactId >jacoco-aggregator-maven-plugin</artifactId >
@@ -1170,5 +1189,19 @@ under the License.</licenseText>
11701189 </plugins >
11711190 </build >
11721191 </profile >
1192+ <profile >
1193+ <id >pmd</id >
1194+ <activation >
1195+ <activeByDefault >true</activeByDefault >
1196+ </activation >
1197+ <build >
1198+ <plugins >
1199+ <plugin >
1200+ <groupId >org.apache.maven.plugins</groupId >
1201+ <artifactId >maven-pmd-plugin</artifactId >
1202+ </plugin >
1203+ </plugins >
1204+ </build >
1205+ </profile >
11731206 </profiles >
11741207</project >
You can’t perform that action at this time.
0 commit comments