- org.codehaus.mojo.spotbugs.CheckMojo
-
@org.apache.maven.plugins.annotations.Mojo(name: check, defaultPhase: LifecyclePhase.VERIFY, requiresDependencyResolution: ResolutionScope.TEST, requiresProject: true, threadSafe: true)
@org.apache.maven.plugins.annotations.Execute(goal: spotbugs)
class CheckMojo
extends BaseViolationCheckMojo
Fail the build if there were any SpotBugs violations in the source code.
An XML report is put out by default in the target directory with the errors.
To see more documentation about SpotBugs' options,
please see the SpotBugs Manual..
- Since:
- 2.0
-
-
Inherited properties
Properties inherited from class |
Properties |
class BaseViolationCheckMojo |
classFilesDirectory, debug, failOnError, failThreshold, includeTests, maxAllowedViolations, quiet, skip, spotbugsXmlOutputDirectory, spotbugsXmlOutputFilename, testClassFilesDirectory |
-
Constructor Summary
Constructors
Constructor and description |
CheckMojo()
|
-
Inherited Methods Summary
spotbugs-maven-plugin Groovy Documentation