You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "richard (JIRA)" <ji...@apache.org> on 2017/05/25 14:09:04 UTC

[jira] [Created] (MCHECKSTYLE-338) Add support for 'omitIgnoredModules'

richard created MCHECKSTYLE-338:
-----------------------------------

             Summary: Add support for 'omitIgnoredModules'
                 Key: MCHECKSTYLE-338
                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-338
             Project: Maven Checkstyle Plugin
          Issue Type: Improvement
          Components: checkstyle:check
    Affects Versions: 2.17
         Environment: Windows 7, 64 bit
            Reporter: richard


Checkstyle has an option in it's ant process that allows users to avoid executing modules that have a severity set to ignore. It is called `omitIgnoredModules`. It has been in checkstyle already for atleast 2 years.
See:
https://github.com/checkstyle/checkstyle/blob/2f3f4b76f04f0b5071abcaed54648a49a0db3160/src/main/java/com/puppycrawl/tools/checkstyle/ant/CheckstyleAntTask.java#L118
https://github.com/checkstyle/checkstyle/blob/2f3f4b76f04f0b5071abcaed54648a49a0db3160/src/main/java/com/puppycrawl/tools/checkstyle/ant/CheckstyleAntTask.java#L424-L428

We are in the process of adding this option to our CLI (https://github.com/checkstyle/checkstyle/issues/3566) and would like to see maven-checkstyle-plugin support this feature so users can customize it.

A simple tag for this option like: `<omitIgnoredModules>false</omitIgnoredModules>` would be enough.

Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)