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

Christopher Tubbs commented on MCHECKSTYLE-268:
-----------------------------------------------

Since this is essentially already implemented (by specifying 
{{google_checks.xml}} for {{configLocation}} when a newer version of checkstyle 
is added as a dependency), I'm not sure this ticket is really valid anymore.

However, there seems to be some desire to re-scope this issue, to ensure that 
any available built-in style can be configured easily. The discussion above 
seems to be centered around checkstyle-provided styles, but I wonder if there 
shouldn't be a more generic way to add any other style, perhaps provided by 
additional maven artifacts as dependencies? (similar to how assembly 
descriptors can be included as dependencies for the maven-assembly-plugin). 
Does anybody know if that's already possible today?

> Add flag/option to use built-in Google style
> --------------------------------------------
>
>                 Key: MCHECKSTYLE-268
>                 URL: https://issues.apache.org/jira/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_checks.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.3.4#6332)

Reply via email to