Fork me on GitHub

spotbugs:spotbugs

Note:This goal should be used as a Maven report.

Full name:

com.github.spotbugs:spotbugs-maven-plugin:4.0.0-SNAPSHOT:spotbugs

Description:

(no description)

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.

Required Parameters

Name Type Since Description
<classFilesDirectory> File - (no description)
Default value is: ${project.build.outputDirectory}.
<outputDirectory> File - (no description)
Default value is: ${project.reporting.outputDirectory}.
<spotbugsXmlOutputDirectory> File - (no description)
Default value is: ${project.build.directory}.
<testClassFilesDirectory> File - (no description)
Default value is: ${project.build.testOutputDirectory}.
<xmlOutput> boolean - (no description)
Default value is: false.
User property is: spotbugs.xmlOutput.
<xmlOutputDirectory> File - (no description)
Default value is: ${project.build.directory}.

Optional Parameters

Name Type Since Description
<addSourceDirs> boolean - (no description)
Default value is: false.
User property is: spotbugs.addSourceDirs.
<debug> Boolean - (no description)
Default value is: false.
User property is: spotbugs.debug.
<effort> String - (no description)
Default value is: Default.
User property is: spotbugs.effort.
<excludeBugsFile> String - (no description)
User property is: spotbugs.excludeBugsFile.
<excludeFilterFile> String - (no description)
User property is: spotbugs.excludeFilterFile.
<failOnError> boolean - (no description)
Default value is: true.
User property is: spotbugs.failOnError.
<fork> boolean - (no description)
Default value is: true.
User property is: spotbugs.fork.
<includeFilterFile> String - (no description)
User property is: spotbugs.includeFilterFile.
<includeTests> boolean - (no description)
Default value is: false.
User property is: spotbugs.includeTests.
<jvmArgs> String - (no description)
User property is: spotbugs.jvmArgs.
<maxHeap> int - (no description)
Default value is: 512.
User property is: spotbugs.maxHeap.
<maxRank> int - (no description)
User property is: spotbugs.maxRank.
<nested> Boolean - (no description)
Default value is: false.
User property is: spotbugs.nested.
<omitVisitors> String - (no description)
User property is: spotbugs.omitVisitors.
<onlyAnalyze> String - (no description)
User property is: spotbugs.onlyAnalyze.
<outputEncoding> String - (no description)
Default value is: ${project.reporting.outputEncoding}.
User property is: outputEncoding.
<pluginList> String - (no description)
User property is: spotbugs.pluginList.
<plugins> PluginArtifact[] - (no description)
<relaxed> Boolean - (no description)
Default value is: false.
User property is: spotbugs.relaxed.
<skip> boolean - (no description)
Default value is: false.
User property is: spotbugs.skip.
<skipEmptyReport> boolean - (no description)
Default value is: false.
User property is: spotbugs.skipEmptyReport.
<sourceEncoding> String - (no description)
Default value is: ${project.build.sourceEncoding}.
User property is: encoding.
<spotbugsXmlOutput> boolean - (no description)
Default value is: true.
<spotbugsXmlOutputFilename> String - (no description)
Default value is: spotbugsXml.xml.
User property is: spotbugs.outputXmlFilename.
<threshold> String - (no description)
Default value is: Default.
User property is: spotbugs.threshold.
<timeout> int - (no description)
Default value is: 600000.
User property is: spotbugs.timeout.
<trace> Boolean - (no description)
Default value is: false.
User property is: spotbugs.trace.
<userPrefs> String - (no description)
User property is: spotbugs.userPrefs.
<visitors> String - (no description)
User property is: spotbugs.visitors.
<xrefLocation> File - (no description)
Default value is: ${project.reporting.outputDirectory}/xref.
<xrefTestLocation> File - (no description)
Default value is: ${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: java.lang.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

<excludeFilterFile>

(no description)
  • Type: java.lang.String
  • Required: No
  • User Property: spotbugs.excludeFilterFile

<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

<includeFilterFile>

(no description)
  • Type: java.lang.String
  • Required: No
  • User Property: spotbugs.includeFilterFile

<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: java.lang.Boolean
  • Required: No
  • User Property: spotbugs.nested
  • 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: java.lang.Boolean
  • Required: No
  • User Property: spotbugs.relaxed
  • Default: false

<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}

<spotbugsXmlOutput>

(no description)
  • Type: boolean
  • Required: No
  • Default: true

<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

<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: java.lang.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