maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Csaba Kozák (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MCHECKSTYLE-295) Test resources are not included
Date Thu, 03 Sep 2015 14:27:46 GMT

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

Csaba Kozák commented on MCHECKSTYLE-295:
-----------------------------------------

Sorry, my bad... I forgot to add {{<resourceIncludes>**\/*.java</resourceIncludes>}}.

> 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
>            Assignee: Robert Scholte
>             Fix For: 2.16
>
>         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)

Mime
View raw message