You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/12/23 01:49:46 UTC

[jira] [Closed] (MCHECKSTYLE-252) Version 2.13 includes non-source files in checks

     [ https://issues.apache.org/jira/browse/MCHECKSTYLE-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MCHECKSTYLE-252.
--------------------------------------
    Resolution: Incomplete

> Version 2.13 includes non-source files in checks
> ------------------------------------------------
>
>                 Key: MCHECKSTYLE-252
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-252
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:checkstyle
>    Affects Versions: 2.13
>            Reporter: Michael Heuer
>              Labels: close-pending
>         Attachments: mcheckstyle-252.tar.gz
>
>
> Updating maven-checkstyle-plugin to version 2.13 and running
> {noformat}$ mvn site{noformat}
> now includes non-source files in its checks, e.g.
> {noformat}COPYING
> COPYING.LESSER
> target/generated-classes/cobertura/cobertura.properties{noformat}
> While it is rather amusing to have checkstyle complain that COPYING (the text of the GNU General Public License) doesn't include a license header, it seems that the default source root or one of the other properties new to version 2.13 does not have an appropriate default value.  The target directory should also be excluded by default.



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