Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1
-
None
-
None
Description
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:
Maybe they can give some inspiration for how to make this possible?
Attachments
Issue Links
- is duplicated by
-
MCHECKSTYLE-77 Allow multiple sources directories in input
- Closed
- is related to
-
MCHECKSTYLE-318 Checkstyle plugin ignores sourceDirectories configuration.
- Closed
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is duplicated by |
Link | This issue is depended upon by SONAR-992 [ SONAR-992 ] |
Link | This issue is depended upon by SONAR-992 [ SONAR-992 ] |
Assignee | Robert Scholte [ rfscholte ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 2.13 [ 20185 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Description |
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? |
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? |
Project Import | Sun Apr 05 09:17:21 UTC 2015 [ 1428225441187 ] |
Workflow | jira [ 12718253 ] | Default workflow, editable Closed status [ 12749712 ] |
Project Import | Sun Apr 05 22:43:44 UTC 2015 [ 1428273824526 ] |
Workflow | jira [ 12955892 ] | Default workflow, editable Closed status [ 12993064 ] |
Link |
This issue is related to |
Many other plugins have the same limitation, and after looking at the pmd-plugin, I found a way to solve my issue temporarily simply letting <sourceDirectory> point to the parent project src/main instead of pointing to src/main/java.
This, however, breaks the xref-links since the src/main is not the actual source folder.
In my case, I have an additional source folder src/main/java-generated holding generated source code which I wan't to be separated from the hand written source in order to delete it whenever I run mvn clean...