You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frantisek Hartman (Jira)" <ji...@apache.org> on 2021/04/28 11:44:00 UTC
[jira] [Created] (MCHECKSTYLE-403) Goal checkstyle:checkstyle
ignores testResources
Frantisek Hartman created MCHECKSTYLE-403:
---------------------------------------------
Summary: Goal checkstyle:checkstyle ignores testResources
Key: MCHECKSTYLE-403
URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-403
Project: Maven Checkstyle Plugin
Issue Type: Bug
Components: checkstyle:checkstyle
Affects Versions: 3.1.2
Reporter: Frantisek Hartman
Test resources are not checked when `checkstyle:checkstyle` goal is run. It works fine for `checkstyle:check`
This is likely caused by this configuration of `CheckstyleExecutorRequest`:
[https://github.com/apache/maven-checkstyle-plugin/blob/master/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleReport.java#L67]
See the correct configuration for `checkstyle:check`
https://github.com/apache/maven-checkstyle-plugin/blob/master/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java#L536
--
This message was sent by Atlassian Jira
(v8.3.4#803005)