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

SebbASF commented on MCHECKSTYLE-193:
-------------------------------------

I agree with Oleg.

If the behaviour of a plugin changes in an incompatible way, this should be 
very clearly documented in the release notes and announcement. The new feature 
in 2.10 which causes the problem was listed as:

[MCHECKSTYLE-184] Allow src/main/resources to be searched by Checkstyle

However this gives no clue that the resources are additionally searched even if 
this was not requested.
The description implies it is an optional extra - which is what was in fact 
requested by the person who raised the JIRA - but it is not optional. Or if it 
is optional, the user should have to request the additional search - not be 
forced to amend their configuration to disable it.
                
> Resource files get included regardless of explicit sourceDirectory / includes 
> / excludes configuration
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-193
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-193
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10
>            Reporter: Oleg Kalnichevski
>
> Resource files get included into checkstyle audit regardless of explicit 
> sourceDirectory / includes / excludes configuration, which seems wrong to me. 
> I found no way of forcing version 2.10 to revert to the behavior of version 
> 2.9.1 with regards to project resources. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to