FindBugs Maven Plugin

This Plug-In generates reports based on the FindBugs Library

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

org.codehaus.mojo
ArtifactId

ArtifactId

findbugs-maven-plugin
Last Version

Last Version

3.0.5
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

FindBugs Maven Plugin
This Plug-In generates reports based on the FindBugs Library
Project URL

Project URL

https://gleclaire.github.io/findbugs-maven-plugin/
Project Organization

Project Organization

MojoHaus
Source Code Management

Source Code Management

https://github.com/gleclaire/findbugs-maven-plugin

Download findbugs-maven-plugin

How to add to project

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>findbugs-maven-plugin</artifactId>
    <version>3.0.5</version>
</plugin>

Dependencies

compile (19)

Group / Artifact Type Version
com.google.code.findbugs : findbugs jar 3.0.1
org.apache.ant : ant jar 1.9.9
org.codehaus.groovy : groovy jar 2.4.12
org.codehaus.groovy : groovy-ant jar 2.4.12
org.codehaus.groovy : groovy-xml jar 2.4.12
org.apache.maven.reporting : maven-reporting-impl jar 3.0.0
org.apache.maven.reporting : maven-reporting-api jar 3.0
org.apache.maven : maven-plugin-api jar 3.5.0
org.apache.maven : maven-compat jar 3.5.0
org.apache.maven : maven-artifact jar 3.5.0
org.apache.maven.doxia : doxia-core jar 1.7
org.apache.maven.doxia : doxia-sink-api jar 1.7
org.apache.maven.doxia : doxia-decoration-model jar 1.7
org.apache.maven.doxia : doxia-site-renderer jar 1.7
org.apache.maven.shared : maven-doxia-tools jar 1.4
org.codehaus.plexus : plexus-container-default jar 1.7.1
org.codehaus.plexus : plexus-resources jar 1.1.0
org.codehaus.plexus : plexus-utils jar 3.1.0
org.sonatype.plexus : plexus-build-api jar 0.0.7

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5

Project Modules

There are no modules declared in this project.

Findbugs Maven Plugin

Build Status Maven central Apache 2

Status

**Note: ** Since Findbugs is no longer maintained, please use Spotbugs which has a Maven plugin. It is located here

Latest Snapshot

Please download latest snapshots from here

Building findbugs-maven-plugin Requirements

Java 7 is required. This will allow analysis of bytecode up to Java 8

findbugs-maven-plugin

Maven Mojo Plug-In to generate reports based on the FindBugs Analyzer

Run all tests

mvn -DtestSrc=remote -Prun-its clean install -D"invoker.parallelThreads=4"

Skip tests

mvn -DskipTests=true clean install

Run tests on findbugs test source code that is local instead of from FindBugs github repository

mvn -DtestSrc=local -DlocalTestSrc=/opt/findBugs -Prun-its clean install -D"invoker.parallelThreads=4"

Run selected tests

mvn -DtestSrc=remote -Prun-its -Dinvoker.test=build-*,basic-1,check-nofail clean install -D"invoker.parallelThreads=4"

Run tests in debugger

mvn -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" -Prun-its clean install 

Run selected tests in debugger

mvn -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" -Prun-its -Dinvoker.test=build-*,basic-1,check clean install

Run gui with a specific version

mvn org.codehaus.mojo:findbugs-maven-plugin:3.0.6-SNAPSHOT:gui 

Versions

Version
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.5
2.4.0
2.3.3
2.3.2
2.3.1
2.3
2.2
2.1
2.0.1
2.0
1.2
1.1.1
1.1
1.0.0
1.0-beta-1