Skip to content
Permalink
Browse files

Separate the spotbugs maven plugin section from the findbugs maven pl…

…ugin.
  • Loading branch information...
Dichotomia committed May 24, 2019
1 parent e5da8b4 commit 5c37b030f158a8675db07cc8939fca701fbfac09
Showing with 8 additions and 6 deletions.
  1. +8 −6 README.md
@@ -71,9 +71,8 @@ For example, If you are using FindBugs with Eclipse (and you extracted Eclipse t

## Usage - Maven

To include the fb-contrib detectors when checking your project with FindBugs/Spotbugs, you can use the [FindBugs Maven plugin](https://gleclaire.github.io/findbugs-maven-plugin/usage.html).
Or [SpotBugs Maven plugin](https://github.com/spotbugs/spotbugs-maven-plugin) which is a fork of findbugs maven plugin to provide spotbugs integration. The group ID for fb-contrib is
com.mebigfatguy.fb-contrib, and the artifact ID is fb-contrib. Eg:
To include the fb-contrib detectors when checking your project with FindBugs, you can use the [FindBugs Maven plugin](https://gleclaire.github.io/findbugs-maven-plugin/usage.html).
The group ID for fb-contrib is com.mebigfatguy.fb-contrib, and the artifact ID is fb-contrib. Eg:

~~~~
<plugin>
@@ -99,16 +98,19 @@ com.mebigfatguy.fb-contrib, and the artifact ID is fb-contrib. Eg:
</plugin>
~~~~

Or to include the fb-contrib detectors when checking your project with Spotbugs, you can use the [SpotBugs Maven plugin](https://github.com/spotbugs/spotbugs-maven-plugin) which is a fork of findbugs maven plugin to provide spotbugs integration.
The group ID for sb-contrib is com.mebigfatguy.sb-contrib, and the artifact ID is sb-contrib. Eg:

~~~~
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>3.1.11</version>
<version>3.1.12</version>
<configuration>
<plugins>
<plugin>
<groupId>com.mebigfatguy.fb-contrib</groupId>
<artifactId>fb-contrib</artifactId>
<groupId>com.mebigfatguy.sb-contrib</groupId>
<artifactId>sb-contrib</artifactId>
<version>7.4.5</version>
</plugin>
</plugins>

0 comments on commit 5c37b03

Please sign in to comment.
You can’t perform that action at this time.