-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
enhancementNew feature or requestNew feature or requestpriority:minorMinor loss of function, or other problem where easy workaround is presentMinor loss of function, or other problem where easy workaround is present
Milestone
Description
Zhenlei Huang opened MNG-7793 and commented
Some source code analysis plugins such as Maven Checkstyle Plugin and Apache Maven PMD Plugin might want to exclude generated sources / test sources. Commonly the generators have their own styles and make the generated sources as robust as possible so users might not want to re-check them.
Typically the generated source directory is under ${project.build.directory}/generated-sources
but it seems that is not enforced. It can be valuable to have generatedCompileSourceRoots
and generatedTestCompileSourceRoots
in maven-core and to be consumed by various plugins.
[1] https://issues.apache.org/jira/browse/MCHECKSTYLE-412
[2] https://maven.apache.org/plugins/maven-pmd-plugin/usage.html
Remote Links:
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority:minorMinor loss of function, or other problem where easy workaround is presentMinor loss of function, or other problem where easy workaround is present