Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Failed License Check

Updated on 2023-11-28 GMT+08:00

Symptoms

The following error is displayed:

1
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project maven: Too many files with unapproved license: 7 See RAT report in: /xxx/slave1/workspace/job_4f1501a3-542c-4f3d-a2bb-8fdbd4d76678_1534924094266/target/rat.txt -> [Help 1]

Cause Analysis

The license check of the file fails.

Solution

Configure the following parameters in the mvn command:
1
apache-rat:check -Drat.numUnapprovedLicenses=600
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback