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

[jira] (MCHECKSTYLE-144) If 'src/main/java' does not exist in a project then checkstyle skips the other source folders of the project

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

Mark Hobson commented on MCHECKSTYLE-144:
-----------------------------------------

Yep, I've just encountered this in 2.9.1.
                
> If 'src/main/java' does not exist in a project then checkstyle skips the other source folders of the project
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-144
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-144
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Ulli Hafner
>
> I'm not sure whether this is related to MCHECKSTYLE-141. 
> If I check a test-project that contains only a folder src/test/java but not a folder src/main/java (even thoud the includeTestDir option is set) then checkstyle ignores the whole project:
> [INFO] --- maven-checkstyle-plugin:2.5:checkstyle (default-cli) @ de.faktorlogik.core.tests ---
> [INFO] Source directory does not exist - skipping report.
> [INFO] ------------------------------------------------------------------------

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