Goals available for this plugin:
| Goal | Report? | Description |
|---|---|---|
| findbugs:check | No | Fail the build if Findbugs finds an error. An XML report is put out by default in the target directory with the errors. |
| findbugs:findbugs | Yes | Generates a FindBugs Report when the site plugin is run. The HTML report is generated for site commands only. The optional report formats are generated for both the site commands. |
| findbugs:gui | No | Launch the Findbugs GUI. It will use all the parameters in the POM fle. FindBugs 1.3.2 GUI does not have a load option. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0.5 |
| JDK | 1.5 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You could run 'mvn -up' to get the latest version of this plugin, or specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo<groupId>
<artifactId>findbugs-maven-plugin<artifactId>
<version>2.0-SNAPSHOT<version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo<groupId>
<artifactId>findbugs-maven-plugin<artifactId>
<version>2.0-SNAPSHOT<version>
</plugin>
...
</plugins>
</build>
...
<!-- To use the report goals in your POM or parent POM -->
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo<groupId>
<artifactId>findbugs-maven-plugin<artifactId>
<version>2.0-SNAPSHOT<version>
</plugin>
...
</plugins>
</reporting>
...
</project>