Maven命令行窗口指定settings.xml


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM