添加国内镜像源(阿里云): 中央仓库因为是国外的,所以下载很慢,因此添加<mirror>标签下,添加国内镜,这样下载jar包速度很快。
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
微信扫一扫
添加国内镜像源(阿里云): 中央仓库因为是国外的,所以下载很慢,因此添加<mirror>标签下,添加国内镜,这样下载jar包速度很快。
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
相关推荐