Skipping some license tests in Maven
问题 I want to skip some license test but in vain. I tried several things such as -Dlicense.skip=true or -Dlicensing or Drat.numUnapprovedLicense=100 . Still it didn't work. How can I skip this process? 回答1: 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 回答2: Run the build with this parameter -Drat.numUnapprovedLicenses=100 回答3: In pom file change version as