The failure means that a file is missing the Apache license header.

This is usually because either
a) you have added a file but forgot the header, in which case the solution naturally is to add the header b) you run on Windows, and Maven does not detect that some files are binary files (which would be automatically skipped), in which case the solution is to add -Drat.skip=true to your maven call to skip the plugin altogether.

On 28/04/2020 12:29, Manish G wrote:
Hi,

While building the project, I get this error:

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
(default) on project flink-parent: Too many files with unapproved license

Any workaround for it?

Manish


Reply via email to