idea中maven下载依赖包慢
来源:互联网 发布:起名网络中国 编辑:程序博客网 时间:2024/04/30 18:10
需要配置阿里云的镜像,在maven的conf/settings下
<mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given repository. The repository that | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used | for inheritance and direct lookup purposes, and must be unique across the set of mirrors. | <mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --> <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://192.168.1.100:8081/nexus/content/groups/public/</url>--> <url>http://repo.maven.apache.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror></mirrors>
其实更关键的原因像是下错了maven的安装包,在官网上应该下tar.gz的包
0 0
- idea中maven下载依赖包慢
- IDEA中maven项目依赖的包下载过慢
- IntelliJ IDEA maven库下载依赖包速度慢的问题
- IntelliJ IDEA maven库下载依赖包速度慢的问题
- IntelliJ IDEA maven库下载依赖包速度慢的问题
- MAC . IntelliJ IDEA maven库下载依赖包速度慢的问题
- IntelliJ IDEA Maven库下载依赖包速度慢的问题
- IDEA maven 下载依赖jar包失败的解决思路
- 解决Maven下载依赖慢
- Maven下载依赖包
- idea更新maven依赖包
- idea+maven导入依赖慢解决办法
- IDEA maven项目中添加本地jar包的依赖
- IDEA maven项目中添加本地jar包的依赖
- maven下载包慢解决
- idea 无法下载依赖包的source,使用maven下载source
- Java:Maven依赖包下载
- Java:Maven依赖包下载
- 单例模式的破解 (反射及序列化方式)
- javascript基础笔记(十一)js的Array对象
- 站在巨人的肩膀上,C++开源库大全
- 分布式Unique ID的生成方法一览
- activiti5.20简单介绍(八) -- 流程操作续
- idea中maven下载依赖包慢
- CSS和JavaScript实现右拉菜单
- JAVA开发中的路径问题总结
- python实现短网址系统
- 带头结点的单向链表
- SplashActivity最简单的引导页
- 实现 select中指定option选中触发事件
- 阿里云部分主机性能测试
- 行内元素与块元素之间的转换