spotbugs:spotbugs
Note:
This goal should be used as a Maven report.
Full name:
com.github.spotbugs:spotbugs-maven-plugin:4.8.6.7-SNAPSHOT:spotbugs
Description:
No description.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
test
. - The goal is thread-safe and supports parallel builds.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<classFilesDirectory> |
File |
- |
No description. Default: ${project.build.outputDirectory} |
<htmlOutput> |
boolean |
- |
No description. Default: false User Property: spotbugs.htmlOutput |
<noClassOk> |
boolean |
- |
No description. Default: false User Property: spotbugs.noClassOk |
<outputDirectory> |
File |
- |
No description. Default: ${project.reporting.outputDirectory} |
<sarifFullPath> |
boolean |
- |
No description. Default: false User Property: spotbugs.sarifFullPath |
<sarifOutput> |
boolean |
- |
No description. Default: false User Property: spotbugs.sarifOutput |
<sarifOutputDirectory> |
File |
- |
No description. Default: ${project.build.directory} User Property: spotbugs.sarifOutputDirectory |
<sarifOutputFilename> |
String |
- |
No description. Default: spotbugsSarif.json User Property: spotbugs.sarifOutputFilename |
<spotbugsXmlOutputDirectory> |
File |
- |
No description. Default: ${project.build.directory} |
<testClassFilesDirectory> |
File |
- |
No description. Default: ${project.build.testOutputDirectory} |
<xmlOutput> |
boolean |
- |
No description. Default: false User Property: spotbugs.xmlOutput |
<xmlOutputDirectory> |
File |
- |
No description. Default: ${project.build.directory} |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<addSourceDirs> |
boolean |
- |
No description. Default: false User Property: spotbugs.addSourceDirs |
<debug> |
boolean |
- |
No description. Default: false User Property: spotbugs.debug |
<effort> |
String |
- |
No description. Default: Default User Property: spotbugs.effort |
<excludeBugsFile> |
String |
- |
No description. User Property: spotbugs.excludeBugsFile |
<excludeBugsFiles> |
List |
- |
No description. User Property: spotbugs.excludeBugsFiles |
<excludeFilterFile> |
String |
- |
No description. User Property: spotbugs.excludeFilterFile |
<excludeFilterFiles> |
List |
- |
No description. User Property: spotbugs.excludeFilterFiles |
<failOnError> |
boolean |
- |
No description. Default: true User Property: spotbugs.failOnError |
<fork> |
boolean |
- |
No description. Default: true User Property: spotbugs.fork |
<includeFilterFile> |
String |
- |
No description. User Property: spotbugs.includeFilterFile |
<includeFilterFiles> |
List |
- |
No description. User Property: spotbugs.includeFilterFiles |
<includeTests> |
boolean |
- |
No description. Default: false User Property: spotbugs.includeTests |
<jvmArgs> |
String |
- |
No description. User Property: spotbugs.jvmArgs |
<maxHeap> |
int |
- |
No description. Default: 512 User Property: spotbugs.maxHeap |
<maxRank> |
int |
- |
No description. User Property: spotbugs.maxRank |
<nested> |
boolean |
- |
No description. Default: false User Property: spotbugs.nested |
<omitVisitors> |
String |
- |
No description. User Property: spotbugs.omitVisitors |
<onlyAnalyze> |
String |
- |
No description. User Property: spotbugs.onlyAnalyze |
<outputEncoding> |
String |
- |
No description. Default: ${project.reporting.outputEncoding} User Property: outputEncoding |
<pluginList> |
String |
- |
No description. User Property: spotbugs.pluginList |
<plugins> |
PluginArtifact[] |
- |
No description. |
<relaxed> |
boolean |
- |
No description. Default: false User Property: spotbugs.relaxed |
<skip> |
boolean |
- |
No description. Default: false User Property: spotbugs.skip |
<skipEmptyReport> |
boolean |
- |
No description. Default: false User Property: spotbugs.skipEmptyReport |
<sourceEncoding> |
String |
- |
No description. Default: ${project.build.sourceEncoding} User Property: encoding |
<spotbugsXmlOutputFilename> |
String |
- |
No description. Default: spotbugsXml.xml User Property: spotbugs.outputXmlFilename |
<systemPropertyVariables> |
Map<String,String> |
- |
No description. User Property: spotbugs.systemPropertyVariables |
<threshold> |
String |
- |
No description. Default: Default User Property: spotbugs.threshold |
<timeout> |
int |
- |
No description. Default: 600000 User Property: spotbugs.timeout |
<trace> |
boolean |
- |
No description. Default: false User Property: spotbugs.trace |
<userPrefs> |
String |
- |
No description. User Property: spotbugs.userPrefs |
<visitors> |
String |
- |
No description. User Property: spotbugs.visitors |
<xrefLocation> |
File |
- |
No description. Default: ${project.reporting.outputDirectory}/xref |
<xrefTestLocation> |
File |
- |
No description. Default: ${project.reporting.outputDirectory}/xref-test |
Parameter Details
<addSourceDirs>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.addSourceDirs
- Default:
false
<classFilesDirectory>
No description.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.build.outputDirectory}
<debug>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.debug
- Default:
false
<effort>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.effort
- Default:
Default
<excludeBugsFile>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.excludeBugsFile
<excludeBugsFiles>
No description.
- Type:
java.util.List
- Required:
No
- User Property:
spotbugs.excludeBugsFiles
<excludeFilterFile>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.excludeFilterFile
<excludeFilterFiles>
No description.
- Type:
java.util.List
- Required:
No
- User Property:
spotbugs.excludeFilterFiles
<failOnError>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.failOnError
- Default:
true
<fork>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.fork
- Default:
true
<htmlOutput>
No description.
- Type:
boolean
- Required:
Yes
- User Property:
spotbugs.htmlOutput
- Default:
false
<includeFilterFile>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.includeFilterFile
<includeFilterFiles>
No description.
- Type:
java.util.List
- Required:
No
- User Property:
spotbugs.includeFilterFiles
<includeTests>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.includeTests
- Default:
false
<jvmArgs>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.jvmArgs
<maxHeap>
No description.
- Type:
int
- Required:
No
- User Property:
spotbugs.maxHeap
- Default:
512
<maxRank>
No description.
- Type:
int
- Required:
No
- User Property:
spotbugs.maxRank
<nested>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.nested
- Default:
false
<noClassOk>
No description.
- Type:
boolean
- Required:
Yes
- User Property:
spotbugs.noClassOk
- Default:
false
<omitVisitors>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.omitVisitors
<onlyAnalyze>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.onlyAnalyze
<outputDirectory>
No description.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.reporting.outputDirectory}
<outputEncoding>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
outputEncoding
- Default:
${project.reporting.outputEncoding}
<pluginList>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.pluginList
<plugins>
No description.
- Type:
org.codehaus.mojo.spotbugs.PluginArtifact[]
- Required:
No
<relaxed>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.relaxed
- Default:
false
<sarifFullPath>
No description.
- Type:
boolean
- Required:
Yes
- User Property:
spotbugs.sarifFullPath
- Default:
false
<sarifOutput>
No description.
- Type:
boolean
- Required:
Yes
- User Property:
spotbugs.sarifOutput
- Default:
false
<sarifOutputDirectory>
No description.
- Type:
java.io.File
- Required:
Yes
- User Property:
spotbugs.sarifOutputDirectory
- Default:
${project.build.directory}
<sarifOutputFilename>
No description.
- Type:
java.lang.String
- Required:
Yes
- User Property:
spotbugs.sarifOutputFilename
- Default:
spotbugsSarif.json
<skip>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.skip
- Default:
false
<skipEmptyReport>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.skipEmptyReport
- Default:
false
<sourceEncoding>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
encoding
- Default:
${project.build.sourceEncoding}
<spotbugsXmlOutputDirectory>
No description.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.build.directory}
<spotbugsXmlOutputFilename>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.outputXmlFilename
- Default:
spotbugsXml.xml
<systemPropertyVariables>
No description.
- Type:
java.util.Map<java.lang.String, java.lang.String>
- Required:
No
- User Property:
spotbugs.systemPropertyVariables
<testClassFilesDirectory>
No description.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.build.testOutputDirectory}
<threshold>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.threshold
- Default:
Default
<timeout>
No description.
- Type:
int
- Required:
No
- User Property:
spotbugs.timeout
- Default:
600000
<trace>
No description.
- Type:
boolean
- Required:
No
- User Property:
spotbugs.trace
- Default:
false
<userPrefs>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.userPrefs
<visitors>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
spotbugs.visitors
<xmlOutput>
No description.
- Type:
boolean
- Required:
Yes
- User Property:
spotbugs.xmlOutput
- Default:
false
<xmlOutputDirectory>
No description.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.build.directory}
<xrefLocation>
No description.
- Type:
java.io.File
- Required:
No
- Default:
${project.reporting.outputDirectory}/xref
<xrefTestLocation>
No description.
- Type:
java.io.File
- Required:
No
- Default:
${project.reporting.outputDirectory}/xref-test