Replace FindBugs with SpotBugs
This commit is contained in:
parent
3ee9cc8400
commit
82fd2516d6
21
pom.xml
21
pom.xml
|
@ -589,6 +589,7 @@
|
||||||
<commons.encoding>utf-8</commons.encoding>
|
<commons.encoding>utf-8</commons.encoding>
|
||||||
|
|
||||||
<checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
|
<checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
|
||||||
|
<spotbugs.plugin.version>3.1.6</spotbugs.plugin.version>
|
||||||
<japicmp.skip>false</japicmp.skip>
|
<japicmp.skip>false</japicmp.skip>
|
||||||
|
|
||||||
<!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
|
<!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
|
||||||
|
@ -611,7 +612,7 @@
|
||||||
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc</defaultGoal>
|
<defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc</defaultGoal>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -703,12 +704,11 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
<!-- Use version from parent pom as that is adjusted according to the Java version used to run Maven -->
|
<version>${spotbugs.plugin.version}</version>
|
||||||
<version>${commons.findbugs.version}</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
|
<excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -735,12 +735,11 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Requires setting 'export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" ' -->
|
<!-- Requires setting 'export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" ' -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
<!-- Use version from parent pom as that is adjusted according to the Java version used to run Maven -->
|
<version>${spotbugs.plugin.version}</version>
|
||||||
<version>${commons.findbugs.version}</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
|
<excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
Loading…
Reference in New Issue