Skipping some license tests in Maven

前端 未结 4 974
北海茫月
北海茫月 2020-12-28 17:09

I want to skip some license test but in vain.

I tried several things such as -Dlicense.skip=true or -Dlicensing or Drat.numUnapproved

相关标签:
4条回答
  • 2020-12-28 17:16

    Run the build with this parameter -Drat.numUnapprovedLicenses=100

    0 讨论(0)
  • 2020-12-28 17:30

    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
    
    0 讨论(0)
  • 2020-12-28 17:31

    I ran into similar issues and skipped license check by only -Dlicense.skip.

    0 讨论(0)
  • 2020-12-28 17:36

    In pom file change version as below apache-rat-plugin 0.12

    0 讨论(0)
提交回复
热议问题