[
https://issues.apache.org/jira/browse/MCHECKSTYLE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863735#comment-17863735
]
Michael Osipov commented on MCHECKSTYLE-420:
--------------------------------------------
A test project would be helpful.
> includes is broken
> ------------------
>
> Key: MCHECKSTYLE-420
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-420
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Components: checkstyle:check
> Affects Versions: 3.2.0
> Reporter: Delany
> Priority: Major
>
> I thought I could achieve MCHECKSTYLE-412 using *includes*
>
> {code:java}
> <configuration>
> <configLocation>${build.root}/checkstyle.xml</configLocation>
> <includes>src\/**\/*.java</includes>
> </configuration> {code}
> but I dont get any violations. Neither with any of
> {code:java}
> <includes>src/**/*.java</includes>
> <includes>**/src/**/*.java</includes>
> <includes>**\/src\/**\/*.java</includes>{code}
> I get 69 violations (files in src and target) using
>
> {code:java}
> <configuration>
> <configLocation>${build.root}/checkstyle.xml</configLocation>
> <includes>**\/*.java</includes>
> </configuration> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)