查看当前生效的settings

mvn help:effective-settings

使用某settings执行maven命令

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