[ https://jira.codehaus.org/browse/MCHECKSTYLE-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353087#comment-353087 ]
Robert Scholte commented on MCHECKSTYLE-70: ------------------------------------------- [~arlol], you probably already guessed the answer: since these are compileSourceRoots, they are included as well. Maven doesn't distinguish generated sourceroots from real sourceroots, you can hope that the generated end up in the target-directory. Up until 2.12 you could only specify 1 source directory, now you can have more and specify if you want. I'd love to implement MCHECKSTYLE-187, which would solve this issue as well, but that will have a huge impact. > Support for multiple source folders > ----------------------------------- > > Key: MCHECKSTYLE-70 > URL: https://jira.codehaus.org/browse/MCHECKSTYLE-70 > Project: Maven Checkstyle Plugin > Issue Type: Improvement > Affects Versions: 2.1 > Reporter: Jan Palmquist > Assignee: Robert Scholte > Priority: Minor > Fix For: 2.13 > > > 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 was sent by Atlassian JIRA (v6.1.6#6162)