You can set the Checkstyle properties to be used in the plugin configuration of your pom through the propertiesLocation parameter. The properties file will be resolved by the plugin based on its value.
You can set a custom ruleset through the configLocation plugin parameter. If no value is
specified, the plugin will use a default ruleset, which is the
sun_checks.xml, that is bundled with the
You can include the test directory in the Checkstyle report by setting the includeTestSourceDirectory plugin parameter to true.