Full name:
org.apache.maven.plugins:maven-checkstyle-plugin:2.3:check
Description:
Attributes:
compile
.verify
.{0}
prior to executing itself.Name | Type | Since | Description |
---|---|---|---|
failOnViolation | boolean |
- |
Do we fail the build on a violation? Default value is: true . |
logViolationsToConsole | boolean |
2.3 |
Output the detected violations to the console. Default value is: false . |
maxAllowedViolations | int |
2.3 |
The maximum number of allowed violations. The execution fails only
if the number of violations is above this limit. Default value is: 0 . |
outputFile | File |
- |
Specifies the path and filename to save the Checkstyle output. The
format of the output file is determined by the
outputFileFormat parameter.Default value is: ${project.build.directory}/checkstyle-result.xml . |
outputFileFormat | String |
- |
Specifies the format of the output to be used when writing to the
output file. Valid values are "plain" and "xml". Default value is: xml . |
skip | boolean |
2.2 |
Skip entire check. Default value is: false . |
violationSeverity | String |
2.2 |
The lowest severity level that is considered a violation. Valid
values are "error", "warning" and "info". Default value is: error . |
boolean
No
${checkstyle.failOnViolation}
true
boolean
2.3
No
${checkstyle.console}
false
int
2.3
No
${checkstyle.maxAllowedViolations}
0
outputFileFormat
parameter.java.io.File
No
${checkstyle.output.file}
${project.build.directory}/checkstyle-result.xml
java.lang.String
No
${checkstyle.output.format}
xml
skip:
boolean
2.2
No
${checkstyle.skip}
false
java.lang.String
2.2
No
${checkstyle.violationSeverity}
error