用idea在执行mvn license:add-third-party -s "D:\settings.xml" 

Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format

出现如下错误

Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format

后来经过查阅,原来idea为mvn命令自动添加了前缀mvn,所以截图里面执行的是mvn mvn license:add-third-party -s "D:\settings.xml" 

正确的 command line这里填写

license:add-third-party -s "D:\settings.xml"即可

 

相关文章:

  • 2022-12-23
  • 2021-09-05
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2021-08-24
  • 2021-05-16
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案