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

Benjamin Marwell commented on MCHECKSTYLE-264:
----------------------------------------------

I think the use cases are a little different here. For one, not the maven 
plugin is doing the license check, but the {{checkstyle.jar}} is. This plugin 
only executes checkstyle.

On the other hand, the checks are somewhat different. Checkstyle can check if 
there is a somewhat similar header, and that's it. RAT can check license types 
etc.

So, if you are using the rat plugin, you can just disable the checkstyle 
header/license check completely. Is this good enough?

> Should checkstyle check the license of a file
> ---------------------------------------------
>
>                 Key: MCHECKSTYLE-264
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-264
>             Project: Maven Checkstyle Plugin
>          Issue Type: Improvement
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> Currently i have issues related to that checkstyle checks the license of a 
> file and apache-rat-plugin will do as well. This is from my point of view 
> duplicated....The question which of the plugins should be responsible for 
> licenses. I would vote for apache-rat-plugin?
> In the example in JXR i have to make a configuration for apache-rat-plugin 
> and for checkstyle plugin.



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

Reply via email to