maven编译代码下载jar太慢的问题
2016-08-07 20:09
302 查看
可以在maven的配置文件中增加更多的镜像:
<mirrors>
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
<mirror>
<id>ui</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>
<mirror>
<id>ibiblio</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</mirror>
<mirror>
<id>jboss-public-repository-group</id>
<mirrorOf>central</mirrorOf>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</mirror>
<mirrors>
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
<mirror>
<id>ui</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>
<mirror>
<id>ibiblio</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</mirror>
<mirror>
<id>jboss-public-repository-group</id>
<mirrorOf>central</mirrorOf>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</mirror>
相关文章推荐
- 代码管理_Maven_Maven下载jar时出错误后第二次不能再下载的问题
- maven编译时无法下载jar包问题
- 使用Maven 编译 storm 源码可能碰到下载依赖jar 的问题
- github 下载代码编译不过 apply plugin: 'com.github.dcendents.android-maven'
- 使用maven编译项目,下载相关的jar包,包括源码包和doc包
- maven学习--maven编译时包无法下载的问题
- eclipse中maven自动下载最新的snapshot版本的jar包的问题
- 关于ISP下载中 编译后自动下载代码不能执行完成的一点问题
- github 下载代码编译不过 apply plugin: 'com.github.dcendents.android-maven'
- 解决Maven不能通过内部nexus下载jar包问题
- Maven不能从public库下载jar包的问题
- maven 解决jar无法下载问题
- 解决osx中maven总是下载jar包到eclipse自带仓库的问题
- Maven:jar 下载相关的问题
- maven编译引入本地jar包-解决Maven中使用很多本地jar包的编译问题
- 关于maven下载jar包失败的问题的总结和解决
- MyEclipse导入maven项目下载不了jar的问题
- 解决Maven中使用很多本地jar包的编译问题
- 解决maven无法下载jar的问题
- maven编译依赖rt.jar、jce.jar等内部类不能编译问题