maven命令行窗口指定特定settings.xml
在命令行界面指定settings.xml,
命令如下: mvn install --settings c:\user\settings.xml 1
例如: 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