You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2015/06/20 12:34:00 UTC

[jira] [Commented] (MCHECKSTYLE-295) Test resources are not included

    [ https://issues.apache.org/jira/browse/MCHECKSTYLE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594507#comment-14594507 ] 

Robert Scholte commented on MCHECKSTYLE-295:
--------------------------------------------

{quote}The documentation says the plugin includes test resources by default, but apparently it never does.{quote}
According to http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#includeTestSourceDirectory the default is actually {{false}}. Is there a mismatch with some documentation?

> Test resources are not included
> -------------------------------
>
>                 Key: MCHECKSTYLE-295
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-295
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:check
>    Affects Versions: 2.15
>            Reporter: Csaba Kozák
>         Attachments: MCHECKSTYLE-295.diff
>
>
> The documentation says the plugin includes test resources by default, but apparently it never does.
> After examining the code, it seems {{CheckstyleViolationCheckMojo.execute()}} forgets to call {{request.setTestResources()}}, hence that is always null and skipped from audit. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)