maven命令行窗口指定特定settings.xml

在命令行界面指定settings.xml,命令如下:

mvn install --settings c:\user\settings.xml 

例如:

mvn clean package --settings F:\Maven\settings.xml -Dmaven.test.skip=true

参考资料:

http://stackoverflow.com/questions/1261215/maven-command-to-determine-which-settings-xml-file-maven-is-using
http://stackoverflow.com/questions/25277866/maven-command-line-how-to-point-to-a-specific-settings-xml-for-a-single-command

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-09-02
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2021-10-31
  • 2021-12-13
  • 2021-11-18
  • 2022-02-08
相关资源
相似解决方案