1.找到maven安装目录下的conf文件夹,找到配置文件:
2.配置本地仓库(修改默认值):
3.配置中心仓库(阿里的):
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorof>central</mirrorof>
</mirror>
</mirrors>
1.找到maven安装目录下的conf文件夹,找到配置文件:
2.配置本地仓库(修改默认值):
3.配置中心仓库(阿里的):
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorof>central</mirrorof>
</mirror>
</mirrors>