I want to skip some license test but in vain.
I tried several things such as -Dlicense.skip=true
or -Dlicensing
or Drat.numUnapproved
Run the build with this parameter -Drat.numUnapprovedLicenses=100
I would suggest to read the documentation which brings up the following:
mvn -Drat.ignoreErrors=true package
What is also possible to skip it completely via:
mvn -Drat.skip=true package
I ran into similar issues and skipped license check by only -Dlicense.skip
.
In pom file change version as below apache-rat-plugin 0.12