You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@codehaus.org> on 2013/06/18 10:13:04 UTC

[jira] (MCHECKSTYLE-193) Resource files get included regardless of explicit sourceDirectory / includes / excludes configuration

    [ https://jira.codehaus.org/browse/MCHECKSTYLE-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326870#comment-326870 ] 

Oleg Kalnichevski commented on MCHECKSTYLE-193:
-----------------------------------------------

[DEBUG] executeCheckstyle start headerLocation : hc-stylecheck/asl2.header
[DEBUG] Added 220 source files found in '/home/oleg/src/apache.org/httpcomponents/httpcore/httpcore/src/main/java'.
[DEBUG] Added 1 resource files found in '/home/oleg/src/apache.org/httpcomponents/httpcore/httpcore/src/main/resources'.
[DEBUG] Added 221 files to process.
[DEBUG] The resource 'null' was not found with resourceLoader org.codehaus.plexus.resource.loader.URLResourceLoader.
[DEBUG] The resource 'null' was not found with resourceLoader org.codehaus.plexus.resource.loader.JarResourceLoader.
[DEBUG] request.getConfigLocation() hc-stylecheck/default.xml
[DEBUG] Extension realms for project org.apache.httpcomponents:project:pom:7-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project org.apache:apache:pom:13: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
...
[INFO] Starting audit...
/home/oleg/src/apache.org/httpcomponents/httpcore/httpcore/src/main/resources/org/apache/http/version.properties:1: Missing a header - not enough lines in file.
/home/oleg/src/apache.org/httpcomponents/httpcore/httpcore/src/main/resources/org/apache/http/version.properties:17: Trailing whitespace

                
> Resource files get included regardless of explicit sourceDirectory / includes / excludes configuration
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-193
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-193
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10
>            Reporter: Oleg Kalnichevski
>
> Resource files get included into checkstyle audit regardless of explicit sourceDirectory / includes / excludes configuration, which seems wrong to me. I found no way of forcing version 2.10 to revert to the behavior of version 2.9.1 with regards to project resources. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira