You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Apoorv Gupta (Jira)" <ji...@apache.org> on 2019/10/14 20:32:00 UTC

[jira] [Created] (MCHECKSTYLE-382) Add option to generate suppression xml file

Apoorv Gupta created MCHECKSTYLE-382:
----------------------------------------

             Summary: Add option to generate suppression xml file
                 Key: MCHECKSTYLE-382
                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-382
             Project: Maven Checkstyle Plugin
          Issue Type: New Feature
            Reporter: Apoorv Gupta


The checkstyle CLI has an option to generate a suppressions file

-g,--generate-xpath-suppression - generate to output a suppression xml to use to suppress all violations from user's config. Instead of printing every violation, all violations will be catched and single suppressions xml file will be printed out. Used only with -c option. Output location can be specified with -o option.

This should also be exposed in the maven checkstyle plugin.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)