sunyd1224 created NIFI-9517:
-------------------------------
Summary: "Too many files with unapproved license" occurs when
running mvn install
Key: NIFI-9517
URL: https://issues.apache.org/jira/browse/NIFI-9517
Project: Apache NiFi
Issue Type: Improvement
Components: Tools and Build
Affects Versions: 1.16.0
Environment: os: windows 10
java version: 1.8.0_311
maven version: 3.8.4
Reporter: sunyd1224
Attachments: .plxarc, createdFiles.lst, inputFiles.lst,
pom.properties, rat.txt
I ran the flowing command to execute the full suite of tests at the root nifi
folder:
{code:java}
mvn -Pcontrib-check clean install {code}
There was a built failure occurs with the following error message:
{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:41 min
[INFO] Finished at: 2021-12-24T16:20:24+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check
(default) on project nifi-framework: Too many files with unapproved license: 4
See RAT report in:
D:\workspace\nifi_github\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\target\rat.txt
-> [Help 1] {code}
When I ran "{_}mvn clean install{_}" ,this kind of error disappeard.
As the "{_}mvn -Pcontrib-check clean install{_}" is required to run when create
a pr and I could not solve this problem so far, I create this issue to ask for
help here. The related file are in the attachment.
Tks.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)