美文网首页
Maven 拉取依赖非常慢

Maven 拉取依赖非常慢

作者: superHang | 来源:发表于2020-03-19 18:08 被阅读0次

因为墙的原因导致网速太慢了,可以在setting.xml文件中配置一下阿里云的镜像加速器就会飞快了

<mirror>

<id>alimaven</id>

<name>aliyun maven</name>

<url>http://maven.aliyun.com/nexus/content/groups/public/</url>

<mirrorOf>central</mirrorOf>

</mirror>

<mirror>

<id>uk</id>

<mirrorOf>central</mirrorOf>

<name>Human Readable Name for this Mirror.</name>

<url>http://uk.maven.org/maven2/</url>

</mirror>

<mirror>

<id>CN</id>

<name>OSChina Central</name>

<url>http://maven.oschina.net/content/groups/public/</url>

<mirrorOf>central</mirrorOf>

</mirror>

<mirror>

<id>nexus</id>

<name>internal nexus repository</name>

<url>http://repo.maven.apache.org/maven2</url>

<mirrorOf>central</mirrorOf>

</mirror>

相关文章

网友评论

      本文标题:Maven 拉取依赖非常慢

      本文链接:https://www.haomeiwen.com/subject/wfolyhtx.html