Pierre Maréchal created MCHECKSTYLE-305:
-------------------------------------------

             Summary: Allow simultaneous use of <configLocation> and 
<checkstyleRules> as override
                 Key: MCHECKSTYLE-305
                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-305
             Project: Maven Checkstyle Plugin
          Issue Type: Improvement
          Components: checkstyle:check
    Affects Versions: 2.16
            Reporter: Pierre Maréchal


It would be a nice addition to somehow allow the use of built-in config files, 
yet being able to override some of the settings without adding the whole 
configuration inline.

My use case is the following: We use google_checks.xml as a baseline, but want 
to override the builtin <module name="Indentation"/> with its stock config. At 
the moment, I must input the whole google_checks.xml as inline configuration, 
or revert to bulding a specific artifact to include my slightly modified 
configuration as a dependency (I use multi module).

Additionally, due to   I cannot even input the google_checks as is.

In summary, it would allow tweaking the built-in configuration, without losing 
upstream evolution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to