abstract class BaseViolationCheckMojo extends AbstractMojo
Type | Name and description |
---|---|
java.io.File |
classFilesDirectory Directory containing the class files for Spotbugs to analyze. |
boolean |
debug Turn on Spotbugs debugging. |
boolean |
failOnError Fail the build on an error. |
java.lang.String |
failThreshold Priority threshold which bugs have to reach to cause a failure. |
boolean |
includeTests Run Spotbugs on the tests. |
int |
maxAllowedViolations specified max number of violations which can be ignored by the spotbugs. |
boolean |
quiet Disable bugs log. |
boolean |
skip Skip entire check. |
java.io.File |
spotbugsXmlOutputDirectory Specifies the directory where the Spotbugs native xml output will be generated. |
java.lang.String |
spotbugsXmlOutputFilename Set the name of the output XML file produced |
java.io.File |
testClassFilesDirectory Directory containing the test class files for Spotbugs to analyze. |
Constructor and description |
---|
BaseViolationCheckMojo() |
Type Params | Return Type | Name and description |
---|---|---|
|
private boolean |
doSourceFilesExist() |
|
void |
execute() |
|
private void |
printBugs(int total, groovy.util.NodeList bugs) |
Directory containing the class files for Spotbugs to analyze.
Turn on Spotbugs debugging.
Fail the build on an error.
Priority threshold which bugs have to reach to cause a failure. Valid values are High, Medium or Low. Bugs below this threshold will just issue a warning log entry.
Run Spotbugs on the tests.
specified max number of violations which can be ignored by the spotbugs.
Disable bugs log.
Skip entire check.
Specifies the directory where the Spotbugs native xml output will be generated.
Set the name of the output XML file produced
Directory containing the test class files for Spotbugs to analyze.
spotbugs-maven-plugin Groovy Documentation