[ https://issues.apache.org/jira/browse/FLINK-10608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-10608: ------------------------------------- Description: 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. was: 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. > maven-rat-plugin does not catch files without headers generatued during > compilation > ----------------------------------------------------------------------------------- > > 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 > > 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 message was sent by Atlassian JIRA (v7.6.3#76005)