You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/05/25 07:36:00 UTC
[jira] [Commented] (MNG-7793) Add APIs for generated sources
[ https://issues.apache.org/jira/browse/MNG-7793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726081#comment-17726081 ]
Michael Osipov commented on MNG-7793:
-------------------------------------
[~gnodet]
> Add APIs for generated sources
> ------------------------------
>
> Key: MNG-7793
> URL: https://issues.apache.org/jira/browse/MNG-7793
> Project: Maven
> Issue Type: New Feature
> Components: Core
> Reporter: Zhenlei Huang
> Priority: Minor
>
> 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)