You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/19 12:19:01 UTC

[jira] [Resolved] (MCHECKSTYLE-305) Allow simultaneous use of and as override

     [ https://issues.apache.org/jira/browse/MCHECKSTYLE-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold resolved MCHECKSTYLE-305.
-----------------------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Major
>
> 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 MCHECKSTYLE-304  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
(v8.3.4#803005)