Updated on 2025-10-15 GMT+08:00
What Can I Do If License Check Fails?
Symptoms
The error message is as follows:
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
- Go to the CodeArts Build homepage.
- Click the Maven build task that reports the error. In the upper right corner, click Edit. The build task configuration page is displayed.
- Click the Build Actions tab. In the Build with Maven action, add the following parameters to the Commands box:
1apache-rat:check -Drat.numUnapprovedLicenses=600
Parent topic: Maven Builds
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot