@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