Skip to content

Commit 82fd251

Browse files
Replace FindBugs with SpotBugs
1 parent 3ee9cc8 commit 82fd251

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

pom.xml

+10-11
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@
589589
<commons.encoding>utf-8</commons.encoding>
590590

591591
<checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
592+
<spotbugs.plugin.version>3.1.6</spotbugs.plugin.version>
592593
<japicmp.skip>false</japicmp.skip>
593594

594595
<!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
@@ -611,7 +612,7 @@
611612

612613

613614
<build>
614-
<defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc</defaultGoal>
615+
<defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc</defaultGoal>
615616
<pluginManagement>
616617
<plugins>
617618
<plugin>
@@ -703,12 +704,11 @@
703704
</configuration>
704705
</plugin>
705706
<plugin>
706-
<groupId>org.codehaus.mojo</groupId>
707-
<artifactId>findbugs-maven-plugin</artifactId>
708-
<!-- Use version from parent pom as that is adjusted according to the Java version used to run Maven -->
709-
<version>${commons.findbugs.version}</version>
707+
<groupId>com.github.spotbugs</groupId>
708+
<artifactId>spotbugs-maven-plugin</artifactId>
709+
<version>${spotbugs.plugin.version}</version>
710710
<configuration>
711-
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
711+
<excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
712712
</configuration>
713713
</plugin>
714714
</plugins>
@@ -735,12 +735,11 @@
735735
</plugin>
736736
<!-- Requires setting 'export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" ' -->
737737
<plugin>
738-
<groupId>org.codehaus.mojo</groupId>
739-
<artifactId>findbugs-maven-plugin</artifactId>
740-
<!-- Use version from parent pom as that is adjusted according to the Java version used to run Maven -->
741-
<version>${commons.findbugs.version}</version>
738+
<groupId>com.github.spotbugs</groupId>
739+
<artifactId>spotbugs-maven-plugin</artifactId>
740+
<version>${spotbugs.plugin.version}</version>
742741
<configuration>
743-
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
742+
<excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
744743
</configuration>
745744
</plugin>
746745
<plugin>
File renamed without changes.

0 commit comments

Comments
 (0)