Note:This goal should be used as a Maven report.
Full name:
org.codehaus.mojo:findbugs-maven-plugin:2.3.1:findbugs
Description:
Attributes:
compile.compile prior to executing itself.| Name | Type | Since | Description |
|---|---|---|---|
| classFilesDirectory | File |
- |
Directory containing the class files for FindBugs to analyze. Default value is: ${project.build.outputDirectory}. |
| findbugsXmlOutputDirectory | File |
1.2.0 |
Specifies the directory where the findbugs native xml output will
be generated. Default value is: ${project.build.directory}. |
| outputDirectory | File |
- |
Location where generated html will be created. Default value is: ${project.reporting.outputDirectory}. |
| testClassFilesDirectory | File |
- |
Directory containing the test class files for FindBugs to analyze. Default value is: ${project.build.testOutputDirectory}. |
| xmlOutputDirectory | File |
1.0.0 |
Specifies the directory where the xml output will be generated. Default value is: ${project.build.directory}. |
| Name | Type | Since | Description |
|---|---|---|---|
| debug | Boolean |
- |
turn on Findbugs debugging Default value is: false. |
| effort | String |
1.0-beta-1 |
Effort of the bug finders. Valid values are Min, Default and Max. Default value is: Default. |
| excludeFilterFile | String |
1.0-beta-1 |
File name of the exclude filter. Bugs matching the filters are not reported. Potential values are a filesystem path, a URL, or a classpath resource. This parameter is resolved as resource, URL, then file. If
successfully resolved, the contents of the configuration is copied
into the |
| failOnError | boolean |
2.0 |
Fail the build on an error. Default value is: true. |
| findbugsXmlOutput | boolean |
1.2.0 |
Turn on and off findbugs native xml output of the Findbugs report. Default value is: false. |
| includeFilterFile | String |
1.0-beta-1 |
File name of the include filter. Only bugs in matching the filters are reported. Potential values are a filesystem path, a URL, or a classpath resource. This parameter is resolved as resource, URL, then file. If
successfully resolved, the contents of the configuration is copied
into the |
| includeTests | boolean |
2.0 |
Run Findbugs on the tests. Default value is: false. |
| maxHeap | int |
2.2 |
Maximum Java heap size in megabytes (default=512). Default value is: 512. |
| omitVisitors | String |
1.0-beta-1 |
The visitor list to omit. This is a comma-delimited list. |
| onlyAnalyze | String |
1.1 |
Restrict analysis to the given comma-separated list of classes and
packages. |
| outputEncoding | String |
2.2 |
The file encoding to use when creating the HTML reports. If the
property project.reporting.outputEncoding is not set,
the platform default encoding is used.Default value is: ${project.reporting.outputEncoding}. |
| pluginList | String |
1.0-beta-1 |
The plugin list to include in the report. This is a comma-delimited list. Potential values are a filesystem path, a URL, or a classpath resource. This parameter is resolved as resource, URL, then file. If
successfully resolved, the contents of the configuration is copied
into the |
| relaxed | Boolean |
1.1 |
Relaxed reporting mode. For many detectors, this option suppresses
the heuristics used to avoid reporting false positives. Default value is: false. |
| skip | boolean |
1.1 |
Skip entire check. Default value is: false. |
| sourceEncoding | String |
2.2 |
The file encoding to use when reading the source files. If the
property project.build.sourceEncoding is not set, the
platform default encoding is used.Default value is: ${project.build.sourceEncoding}. |
| threshold | String |
- |
Threshold of minimum bug severity to report. Valid values are High,
Default, Low, Ignore, and Exp (for experimental). Default value is: Default. |
| timeout | int |
2.2 |
Specifies the amount of time, in milliseconds, that FindBugs may
run before it is assumed to be hung and is terminated. The default
is 600,000 milliseconds, which is ten minutes. Default value is: 600000. |
| visitors | String |
1.0-beta-1 |
The visitor list to run. This is a comma-delimited list. |
| xmlOutput | boolean |
1.0.0 |
Turn on and off xml output of the Findbugs report. Default value is: false. |
| xrefLocation | File |
- |
Location of the Xrefs to link to. Default value is: ${project.reporting.outputDirectory}/xref. |
| xrefTestLocation | File |
- |
Location of the Test Xrefs to link to. Default value is: ${project.reporting.outputDirectory}/xref-test. |
java.io.FileYes${project.build.outputDirectory}java.lang.BooleanNofalsejava.lang.String1.0-beta-1NoDefaultFile name of the exclude filter. Bugs matching the filters are not reported.
Potential values are a filesystem path, a URL, or a classpath resource.
This parameter is resolved as resource, URL, then file. If
successfully resolved, the contents of the configuration is copied
into the ${project.build.directory} directory before
being passed to Findbugs as a filter file.
java.lang.String1.0-beta-1Noboolean2.0Notrueboolean1.2.0Nofalsejava.io.File1.2.0Yes${project.build.directory}File name of the include filter. Only bugs in matching the filters are reported.
Potential values are a filesystem path, a URL, or a classpath resource.
This parameter is resolved as resource, URL, then file. If
successfully resolved, the contents of the configuration is copied
into the ${project.build.directory} directory before
being passed to Findbugs as a filter file.
java.lang.String1.0-beta-1Noboolean2.0Nofalseint2.2No512java.lang.String1.0-beta-1Nojava.lang.String1.1Nojava.io.FileYes${project.reporting.outputDirectory}project.reporting.outputEncoding is not set,
the platform default encoding is used.java.lang.String2.2No${outputEncoding}${project.reporting.outputEncoding}The plugin list to include in the report. This is a comma-delimited list.
Potential values are a filesystem path, a URL, or a classpath resource.
This parameter is resolved as resource, URL, then file. If
successfully resolved, the contents of the configuration is copied
into the ${project.build.directory} directory before
being passed to Findbugs as a plugin file.
java.lang.String1.0-beta-1Nojava.lang.Boolean1.1Nofalseskip:
boolean1.1No${findbugs.skip}falseproject.build.sourceEncoding is not set, the
platform default encoding is used.java.lang.String2.2No${encoding}${project.build.sourceEncoding}java.io.FileYes${project.build.testOutputDirectory}java.lang.StringNoDefaultint2.2No600000java.lang.String1.0-beta-1Noboolean1.0.0Nofalsejava.io.File1.0.0Yes${project.build.directory}java.io.FileNo${project.reporting.outputDirectory}/xrefjava.io.FileNo${project.reporting.outputDirectory}/xref-test