Skip to content

Commit 82fa425

Browse files
committed
work
1 parent 33f60d7 commit 82fa425

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

pom.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<version.maven-checkstyle-plugin.checkstyle>10.5.0</version.maven-checkstyle-plugin.checkstyle>
141141
<version.maven-jxr-plugin>3.2.0</version.maven-jxr-plugin>
142142
<version.maven-pmd-plugin>3.17.0</version.maven-pmd-plugin>
143-
<version.maven-pmd-plugin.pmd>6.51.0</version.maven-pmd-plugin.pmd>
143+
<version.maven-pmd-plugin.pmd>6.52.0</version.maven-pmd-plugin.pmd>
144144
<version.spotbugs-maven-plugin>4.7.3.0</version.spotbugs-maven-plugin>
145145
<version.spotbugs-maven-plugin.spotbugs>4.7.0.0</version.spotbugs-maven-plugin.spotbugs>
146146
<version.maven-surefire-report-plugin>3.0.0-M7</version.maven-surefire-report-plugin>
@@ -1046,9 +1046,17 @@
10461046
<groupId>com.github.spotbugs</groupId>
10471047
<artifactId>spotbugs-maven-plugin</artifactId>
10481048
<version>${version.spotbugs-maven-plugin}</version>
1049-
<dependencies>
1050-
1051-
</dependencies>
1049+
<configuration>
1050+
<includeFilterFile>spotbugs-security-include.xml</includeFilterFile>
1051+
<excludeFilterFile>spotbugs-security-exclude.xml</excludeFilterFile>
1052+
<plugins>
1053+
<plugin>
1054+
<groupId>com.h3xstream.findsecbugs</groupId>
1055+
<artifactId>findsecbugs-plugin</artifactId>
1056+
<version>1.12.0</version>
1057+
</plugin>
1058+
</plugins>
1059+
</configuration>
10521060
</plugin>
10531061
<plugin>
10541062
<groupId>org.apache.maven.plugins</groupId>

spotbugs-security-exclude.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<FindBugsFilter>
2+
</FindBugsFilter>

spotbugs-security-include.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<FindBugsFilter>
2+
<Match>
3+
<Bug category="SECURITY"/>
4+
</Match>
5+
</FindBugsFilter>

0 commit comments

Comments
 (0)