[MCHECKSTYLE-338] Add support for 'omitIgnoredModules'

The boolean parameter 'omitIgnoredModules' controls whether modules in a Checkstyle configuration with a severity set to 'ignore' should be omitted or still executed during Checkstyle invocation. This defaults to false to be consistent with the previous behavior of the plugin.

IT is done by writing a custom check that does nothing except always logging as an error the name of the file it was invoked on. This is used to verify whether the check was invoked or not depending on the value of 'omitIgnoredModules'.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-checkstyle-plugin@1796441 13f79535-47bb-0310-9956-ffa450edef68
14 files changed
tree: c88f2bea4a42dc43079b54765c6b827318c281cc
  1. src/
  2. pom.xml