You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Delany (Jira)" <ji...@apache.org> on 2022/12/07 22:57:00 UTC
[jira] [Created] (MCHECKSTYLE-420) includes is broken
Delany created MCHECKSTYLE-420:
----------------------------------
Summary: 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
I thought I could achieve [https://issues.apache.org/jira/projects/MCHECKSTYLE/issues/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)