Replace FindBugs with SpotBugs
SpotBugs [1] is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community. This is a backport of [1] which originally did the replacement on the master branch. This change updates to the current latest version, so that we can get the benefit of its checks when pushing changes to the stable branches. [1] https://spotbugs.github.io/ [2] https://git.eclipse.org/r/#/c/101312/ Change-Id: Ib73d56b5980b55f4d7e09d87abec3138cac3d3dc Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
8223a7e646
commit
7eb34c175c
17
pom.xml
17
pom.xml
|
@ -210,6 +210,7 @@
|
||||||
<maven-javadoc-plugin-version>2.10.3</maven-javadoc-plugin-version>
|
<maven-javadoc-plugin-version>2.10.3</maven-javadoc-plugin-version>
|
||||||
<tycho-extras-version>0.25.0</tycho-extras-version>
|
<tycho-extras-version>0.25.0</tycho-extras-version>
|
||||||
<gson-version>2.2.4</gson-version>
|
<gson-version>2.2.4</gson-version>
|
||||||
|
<spotbugs-maven-plugin-version>3.1.6</spotbugs-maven-plugin-version>
|
||||||
|
|
||||||
<!-- Properties to enable jacoco code coverage analysis -->
|
<!-- Properties to enable jacoco code coverage analysis -->
|
||||||
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
|
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
|
||||||
|
@ -323,9 +324,9 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
<version>3.0.3</version>
|
<version>${spotbugs-maven-plugin-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<findbugsXmlOutput>true</findbugsXmlOutput>
|
<findbugsXmlOutput>true</findbugsXmlOutput>
|
||||||
<failOnError>false</failOnError>
|
<failOnError>false</failOnError>
|
||||||
|
@ -528,9 +529,9 @@
|
||||||
<version>2.5</version>
|
<version>2.5</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
<version>3.0.3</version>
|
<version>${spotbugs-maven-plugin-version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -706,8 +707,8 @@
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
|
Loading…
Reference in New Issue