[
https://issues.apache.org/jira/browse/FLINK-10608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656806#comment-16656806
]
ASF GitHub Bot commented on FLINK-10608:
----------------------------------------
zentol closed pull request #6882: [FLINK-10608][avro] Add exclusion for
generated avro files
URL: https://github.com/apache/flink/pull/6882
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/pom.xml b/pom.xml
index d5149e0925d..ba8d539d4b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1210,6 +1210,7 @@ under the License.
<exclude>**/.idea/**</exclude>
<!-- Generated code via Avro -->
<exclude>flink-end-to-end-tests/flink-confluent-schema-registry/src/main/java/example/avro/**</exclude>
+
<exclude>flink-end-to-end-tests/flink-datastream-allround-test/src/main/java/org/apache/flink/streaming/tests/avro/**</exclude>
<!-- Files generated by jepsen
tests -->
<exclude>flink-jepsen/store/**</exclude>
<exclude>flink-jepsen/docker/id_rsa*</exclude>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add avro files generated by datastream-allround-test to RAT exclusions
> ----------------------------------------------------------------------
>
> Key: FLINK-10608
> URL: https://issues.apache.org/jira/browse/FLINK-10608
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Affects Versions: 1.6.1, 1.7.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
>
> With the 1.5.5 and 1.6.2 release-candidates it was discovered that files
> generated during the build are not covered by the {{apache-rat-plugin}}
> license-header check.
> As a result the first compilation succeeds but a subsequent one may fail.
> -This is a bit surprising considering that the plugin is executed in the
> verify phase, which is executed after the compilation and execution of tests.-
> This is because the plugin is only run in the {{flink-parent}} project before
> anything is compiled. The plugin-configuration is explicitly disables
> inheritance.
> I'm re-purposing this Jira to add the avro classes to the exclusion list.
> However, in the long term I'd suggest to enable inheritance for the plugin
> and define the module-specific exclusions in each module respectively. This
> will allows to run the plugin in the verify phase of each module which
> would've caught this error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)