Skip maven license check

by | Aug 24, 2022 | Java, Linux, Maven, Tutorials | 0 comments

Hello guys,

So I’m working on Apache Guacamole and after deleting the npm-modules folder I’m getting so many license errors over 9k files needed a license to be added.

Rat check: Summary over all files. Unapproved: 9199, unknown: 9199, generated: 0, approved: 699 licenses.

Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (validate-licenses) on project guacamole: Too many files with unapproved

So basically I need to bypass this error there are many ways according to Stack website but none of them worked for me. Stack ways:

-Dlicense.skipDownloadLicenses
-Dlicense.skipCheckLicense
-Dlicense.skip

These don’t really work for me but finally, this one works fine the number equals or more than unapproved license numbers.

-Drat.numUnapprovedLicenses=10000

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

avatart

About

I’m a System Administrator and a developer with 10+ years of experience.