[ https://issues.apache.org/jira/browse/MNG-7793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated MNG-7793: --------------------------------- Fix Version/s: 4.1.0 > Add APIs for generated sources > ------------------------------ > > Key: MNG-7793 > URL: https://issues.apache.org/jira/browse/MNG-7793 > Project: Maven > Issue Type: New Feature > Components: API, Core > Reporter: Zhenlei Huang > Priority: Minor > Fix For: 4.1.0 > > > Some source code analysis plugins such asĀ [Maven Checkstyle > Plugin|https://maven.apache.org/plugins/maven-checkstyle-plugin/] and [Apache > Maven PMD > Plugin|https://maven.apache.org/plugins/maven-pmd-plugin/index.html] 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 -- This message was sent by Atlassian Jira (v8.20.10#820010)