You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anthony Whitford (JIRA)" <ji...@codehaus.org> on 2011/08/29 01:14:32 UTC

[jira] Commented: (MCHECKSTYLE-70) Support for multiple source folders

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

Anthony Whitford commented on MCHECKSTYLE-70:
---------------------------------------------

No, I don't see this solved...  I think the Checkstyle plugin should ask the MavenProject for its compileSourceRoots.  See:

http://maven.apache.org/ref/3.0.3/maven-core/apidocs/org/apache/maven/project/MavenProject.html#getCompileSourceRoots()

> Support for multiple source folders
> -----------------------------------
>
>                 Key: MCHECKSTYLE-70
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-70
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Jan Palmquist
>            Priority: Minor
>
> It would be great if this plugin would support multiple source folders added by http://mojo.codehaus.org/build-helper-maven-plugin/ (or similar), and by default inspect sources from these folders instead of just ${project.build.sourceDirectory}. Correspondingly with respect to test sources if those are configured to be included.
> There are other plugins available solving this problem (somehow), eg:
> * http://mojo.codehaus.org/jdepend-maven-plugin/
> * http://mojo.codehaus.org/findbugs-maven-plugin/
> Maybe they can give some inspiration for how to make this possible?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira