[
https://issues.apache.org/jira/browse/FLINK-20790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17740636#comment-17740636
]
王范明 commented on FLINK-20790:
-----------------------------
The flink-parquet and flink-confluent-schema-registry modules
这两个模块的pom.xml中,需要移除avro-maven-plugin插件,否则会导致maven编译时,出现“类重复”错误。
> Generated classes should not be put under src/ directory
> --------------------------------------------------------
>
> Key: FLINK-20790
> URL: https://issues.apache.org/jira/browse/FLINK-20790
> Project: Flink
> Issue Type: Improvement
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.13.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.4, 1.12.1, 1.13.0
>
>
> The flink-parquet and flink-confluent-schema-registry modules generate
> classes and put them into the src/ directory.
> Standard convention is to put generated sources under
> target/generated-sources, which has the main advantage that they are deleted
> when doing a {{mvn clean}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)