Skipping some license tests in Maven

前端 未结 4 1102
北海茫月
北海茫月 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: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
    

提交回复
热议问题