File tree 2 files changed +48
-13
lines changed
2 files changed +48
-13
lines changed Original file line number Diff line number Diff line change 1
1
** /target /**
2
- .project
3
- .classpath
4
- .settings /
5
- .svn /
6
- # Intellij
7
- * .ipr
8
2
* .iml
9
- .idea
10
- ! .idea /icon.png
3
+ * .ipr
11
4
.DS_Store
12
- /bootstrap
13
- /dependencies.xml
14
- .java-version
15
5
.checkstyle
6
+ .classpath
16
7
.factorypath
8
+ .idea
9
+ ! .idea /icon.png
10
+ .java-version
11
+ .project
12
+ .settings /
13
+ .svn /
17
14
.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>
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
+ <excludeFromFailureFile >${project.basedir} /.pmd/exclude.properties</excludeFromFailureFile >
806
+ <minimumPriority >2</minimumPriority >
807
+ <printFailingErrors >true</printFailingErrors >
808
+ </configuration >
802
809
<dependencies >
803
810
<dependency >
804
811
<groupId >net.sourceforge.pmd</groupId >
805
812
<artifactId >pmd-core</artifactId >
806
813
<version >7.12.0</version >
807
814
</dependency >
808
815
</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 >
809
825
</plugin >
810
826
</plugins >
811
827
</pluginManagement >
812
828
<plugins >
829
+ <!-- why profile not working? -->
830
+ <plugin >
831
+ <groupId >org.apache.maven.plugins</groupId >
832
+ <artifactId >maven-pmd-plugin</artifactId >
833
+ </plugin >
813
834
<plugin >
814
835
<groupId >io.github.olamy.maven.plugins</groupId >
815
836
<artifactId >jacoco-aggregator-maven-plugin</artifactId >
@@ -1170,5 +1191,19 @@ under the License.</licenseText>
1170
1191
</plugins >
1171
1192
</build >
1172
1193
</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 >
1173
1208
</profiles >
1174
1209
</project >
You can’t perform that action at this time.
0 commit comments