I want to skip some license test but in vain.
I tried several things such as -Dlicense.skip=true or -Dlicensing or Drat.numUnapproved
-Dlicense.skip=true
-Dlicensing
Drat.numUnapproved
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