apache / apache/maven-checkstyle-plugin
[MCHECKSTYLE-420] includes is broken
- Dominant language
- Java
- Stars
- 97
- Forks
- 67
- Avg merge
- 14h 50m
- Merged PRs (30d)
- 6
Description
**[Delany](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=delany)** opened **[MCHECKSTYLE-420](https://issues.apache.org/jira/browse/MCHECKSTYLE-420?redirect=false)** and commented
I thought I could achieve MCHECKSTYLE-412 using **includes**
```java
${build.root}/checkstyle.xml
src\/**\/*.java
```
but I dont get any violations. Neither with any of
```java
src/**/*.java
**/src/**/*.java
**\/src\/**\/*.java
```
I get 69 violations (files in src and target) using
```java
${build.root}/checkstyle.xml
**\/*.java
```
---
**Affects:** 3.2.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported configuration from the issue with the listed includes patterns against the affected 3.2.0 behavior. Trace how includes are interpreted and verify completion when Java files under src are checked while target files are excluded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100