You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2015/01/09 23:17:18 UTC

[jira] (MCHECKSTYLE-268) Add flag/option to use built-in Google style

    [ https://jira.codehaus.org/browse/MCHECKSTYLE-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=361016#comment-361016 ] 

Herve Boutemy commented on MCHECKSTYLE-268:
-------------------------------------------

until now, Checkstyle configs from Checkstyle are not inside Checkstyle jars
then maven-checkstyle-plugin has its own {{sun_checks.xml}} configuration: http://svn.apache.org/viewvc/maven/plugins/tags/maven-checkstyle-plugin-2.13/src/main/resources/config/

Checkstyle 6.2 now has its config inside Checkstyle jars: see https://github.com/checkstyle/checkstyle/issues/305 and configs are in another source directory now https://github.com/checkstyle/checkstyle/tree/master/src/main/resources

I'd like to remove {{sun_checks.xml}} from maven-checkstyle-plugin source tree, and get it from Checkstyle jar: of course, any other config provided by Checkstyle would be supported

but we'll require Checkstyle 6.2: then we'll need to wait for a later plugin release...

> Add flag/option to use built-in Google style
> --------------------------------------------
>
>                 Key: MCHECKSTYLE-268
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-268
>             Project: Maven Checkstyle Plugin
>          Issue Type: Wish
>            Reporter: Christopher Tubbs
>
> Checkstyle 6 adds a style which implements the [Google Style Guide|https://code.google.com/p/google-styleguide/], called [google_chekcs.xml|https://github.com/checkstyle/checkstyle/blob/master/google_checks.xml].
> It would be nice to expose this style with a flag, providing it with the plugin, rather than requiring a user to specify the style file directly. This would make it easier for multi-module projects to easily adopt and configure a standard style, provided by the upstream Checkstyle project.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)