Maven Mojo Plug-In to generate reports based on the FindBugs Analyzer
HTML Groovy CSS Other
Latest commit d0c26a5 Nov 10, 2016 @gleclaire Merge branch 'vorburger-mojo-parent-40'
* vorburger-mojo-parent-40:
  update to parent pom version 39 version 40 does not work
  Upgrade mojo-parent from 35 to 40 to remove nexus.codehaus.org

README.md

Build Status

Note: CodeHaus has been taken off-line.

Snapshots of the plugin are now located in the Sonatype Repository at https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/mojo/findbugs-maven-plugin/

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 -Prun-its clean install

Skip tests

mvn -DskipTests=true clean install

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

mvn -DtestSrc=local -DlocalTestSrc=/opt/findBugs/findbugsTestCases/src -Prun-its clean install

Run selected tests

mvn -Prun-its -Dinvoker.test=build-*,basic-1,check clean install

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.2-SNAPSHOT:gui