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. |
booleanNo${checkstyle.failOnViolation}trueboolean2.3No${checkstyle.console}falseint2.3No${checkstyle.maxAllowedViolations}0outputFileFormat parameter.java.io.FileNo${checkstyle.output.file}${project.build.directory}/checkstyle-result.xmljava.lang.StringNo${checkstyle.output.format}xmlskip:
boolean2.2No${checkstyle.skip}falsejava.lang.String2.2No${checkstyle.violationSeverity}error