国内阿里云maven仓库

在开发过程中,使用国外的maven中央仓库下载jar包速度是非常慢的,使用阿里云的maven仓库的下载速度非常快,对于开发来说是极好的。
1、在maven的conf文件夹下的settings.xml文件中,在标签中,加入以下节点,直接就可以使用阿里云的仓库下载了

<mirror>
		<id>nexus-aliyun</id>
		<mirrorOf>*</mirrorOf>
		<name>Nexus aliyun</name>
		<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>

猜你喜欢

转载自blog.csdn.net/My_name_is_F/article/details/85885065