Re: Fail to compile due to too many RAT unapproved licenses

Posted by Robert Metzger on
URL: http://deprecated-apache-flink-mailing-list-archive.368.s1.nabble.com/Fail-to-compile-due-to-too-many-RAT-unapproved-licenses-tp1463p1464.html

Hi,

I think rat is being executed when doing an "install" or "verify" (its
bound to the "verify" phase). We have it this way so that our CI finds pull
requests with wrong license headers (happens often to new contributors).

But you are right, the "DEPENDENCIES" file Stephan committed yesterday is
marked as unapproved by apache-rat. I'll commit a fix ...


Robert


On Wed, Aug 20, 2014 at 7:48 AM, Henry Saputra <[hidden email]>
wrote:

> Hi guys,
>
> I just pulled from master and when tried to do mvn install I got error:
>
> [ERROR] Failed to execute goal
> org.apache.rat:apache-rat-plugin:0.10:check (default) on project
> flink-parent: Too many files with unapproved license: 1 See RAT report
> in: /home/hsaputra/open/hsaputra/incubator-flink/target/rat.txt ->
> [Help 1]
>
> Are we enabling RAT check on mvn install flow now?
>
> - Henry
>