进入终端,mvn -v 会显示,maven home:/usr/local/Cellar/maven/3.5.0/libexec
/usr/local/Cellar/maven/3.5.0/libexec/conf/settings.xml
1.百度输入:“maven repository” 2.http://repo1.maven.org/maven2
远程仓库