Maven的配置文件包含两个部分:全局配置 和 本地配置。
There are two locations where a settings.xml file may live:
- The Maven install: ${maven.home}/conf/settings.xml
- A user’s install: ${user.home}/.m2/settings.xml
maven.home目录可以通过mvn -v查看。

Screen Shot 2019-04-11 at 09.57.40.png
user.home就很简单了,cd ~ 即可。