在命令行界面指定settings.xml,命令以下:maven
mvn install --settings c:\user\settings.xml
例如:spa
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命令行
頂code
0xml