Note: default value is {@code **\/*.properties}. * @since 2.11 */ @Parameter( property = "checkstyle.resourceIncludes", defaultValue = "**/*.properties", required = true ) private String resourceIncludes; /** * Specifies the names filter of the resource files to be excluded for * Checkstyle. * @since 2.11 */ @Parameter( property = "checkstyle.resourceExcludes" ) private String resourceExcludes; /** * Specifies whether to include the resource directories in the check. * @since 2.11 */ @Parameter( property = "checkstyle.includeResources", defaultValue = "true", required = true ) private boolean includeResources; /** * Specifies whether to include the test resource directories in the check. * @since 2.11 */ @Parameter( property = "checkstyle.includeTestResources", defaultValue = "true", required = true ) private boolean includeTestResources; /** *

* Specifies the location of the XML configuration to use. *

*

*

* Potential values are a filesystem path, a URL, or a classpath resource. * This parameter expects that the contents of the location conform to the * xml format (Checkstyle Checker * module) configuration of rulesets. *

*

*

* This parameter is resolved as resource, URL, then file. If successfully * resolved, the contents of the configuration is copied into the * ${project.build.directory}/checkstyle-configuration.xml * file before being passed to Checkstyle as a configuration. *

*

*

* There are 4 predefined rulesets. *

*

*

    *
  • config/sun_checks.xml: Sun Checks.
  • *
  • config/turbine_checks.xml: Turbine Checks.
  • *
  • config/avalon_checks.xml: Avalon Checks.
  • *
  • config/maven_checks.xml: Maven Source Checks.
  • *
*/ @Parameter( property = "checkstyle.config.location", defaultValue = "config/sun_checks.xml" ) private String configLocation; /** *

* Specifies the location of the properties file. *

*

*

* This parameter is resolved as URL, File then resource. If successfully * resolved, the contents of the properties location is copied into the * ${project.build.directory}/checkstyle-checker.properties * file before being passed to Checkstyle for loading. *

*

*

* The contents of the propertiesLocation will be made * available to Checkstyle for specifying values for parameters within the * xml configuration (specified in the configLocation * parameter). *

* * @since 2.0-beta-2 */ @Parameter( property = "checkstyle.properties.location" ) ]]>