1、mvn help:effective-settings 可以查看目前正在使用的settings内容,2、执行:mvn install -X查看debug信息,定位目前setting文件位置,替换掉即可