File tree 2 files changed +36
-1
lines changed
2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 16
16
.factorypath
17
17
.vscode /
18
18
repo /
19
- /* .svg
19
+ /* .svg
20
+ /** /.cache
Original file line number Diff line number Diff line change @@ -799,17 +799,37 @@ under the License.</licenseText>
799
799
<plugin >
800
800
<groupId >org.apache.maven.plugins</groupId >
801
801
<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 >
802
808
<dependencies >
803
809
<dependency >
804
810
<groupId >net.sourceforge.pmd</groupId >
805
811
<artifactId >pmd-core</artifactId >
806
812
<version >7.12.0</version >
807
813
</dependency >
808
814
</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 >
809
824
</plugin >
810
825
</plugins >
811
826
</pluginManagement >
812
827
<plugins >
828
+ <!-- why profile not working? -->
829
+ <plugin >
830
+ <groupId >org.apache.maven.plugins</groupId >
831
+ <artifactId >maven-pmd-plugin</artifactId >
832
+ </plugin >
813
833
<plugin >
814
834
<groupId >io.github.olamy.maven.plugins</groupId >
815
835
<artifactId >jacoco-aggregator-maven-plugin</artifactId >
@@ -1170,5 +1190,19 @@ under the License.</licenseText>
1170
1190
</plugins >
1171
1191
</build >
1172
1192
</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 >
1173
1207
</profiles >
1174
1208
</project >
You can’t perform that action at this time.
0 commit comments