mvn help:system下载包失败错误解决!
maven配置好之后在cmd命令中执行mvn help:system的时候提示访问中央库失败具体错误如下:
C:\Users\liekkas>mvn help:system
[INFO] Scanning for projects…
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5:
Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5
[警告]未能检索插件描述符org.apache.maven.plugins:maven-clean-plugin:2.5:
插件org.apache.maven.plugins:maven-clean-plugin:2.5或它的一个依赖项无法解决:
未能读org.apache.maven.plugins工件描述符:maven-clean-plugin:jar:2.5
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
install-plugin/2.4/maven-install-plugin-2.4.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4:
Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4
[警告]未能检索插件描述符org.apache.maven.plugins:maven-install-plugin:2.4:
插件org.apache.maven.plugins:maven-install-plugin:2.4或它的一个依赖项无法解决:
未能读org.apache.maven.plugins工件描述符:maven-install-plugin:jar:2.4
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
Downloading:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-。
deploy-plugin / 2.7 / maven-deploy-plugin-2.7.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7:
Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
[警告]未能检索插件描述符org.apache.maven.plugins:maven-deploy-plugin:2.7:
插件org.apache.maven.plugins:maven-deploy-plugin:2.7或它的一个依赖项无法解决:
未能读org.apache.maven.plugins工件描述符:maven-deploy-plugin:jar:2.7
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
site-plugin/3.3/maven-site-plugin-3.3.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3:
Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one
of its dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-site-plugin:jar:3.3
[警告]未能检索插件描述符org.apache.maven.plugins:maven-site-plugin:3.3:
或一个插件org.apache.maven.plugins:maven-site-plugin:3.3
的依赖关系无法解决:未能读工件描述符
org.apache.maven.plugins:maven-site-plugin:jar:3.3
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3:
Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3
[警告]未能检索插件描述符org.apache.maven.plugins:maven-antrun-plugin:1.3:
插件org.apache.maven.plugins:maven-antrun-plugin:1.3或它的一个依赖项无法解决:
未能读org.apache.maven.plugins工件描述符:maven-antrun-plugin:jar:1.3
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:
Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5
[警告]未能检索插件描述符org.apache.maven.plugins:maven-assembly-plugin:2.2 -beta-5:
插件org.apache.maven.plugins:maven-assembly-plugin:2.2 -beta-5或者它的一个依赖项无法解决:
未能读工件描述符org.apache.maven.plugins:maven-assembly-plugin:jar:2.2 -beta-5
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8:
Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8
[警告]未能检索插件描述符org.apache.maven.plugins:maven-dependency-plugin:2.8:
插件org.apache.maven.plugins:maven-dependency-plugin:2.8或它的一个依赖项无法解决:
未能读org.apache.maven.plugins工件描述符:maven-dependency-plugin:jar:2.8
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
release-plugin/2.3.2/maven-release-plugin-2.3.2.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2:
Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-release-plugin:jar:2.3.2
[警告]未能检索插件描述符org.apache.maven.plugins:maven-release-plugin:2.3.2:
2.3.2插件org.apache.maven.plugins:maven-release-plugin:或者它的一个依赖项
无法解决:未能读工件描述符
2.3.2 org.apache.maven.plugins:maven-release-plugin:jar:
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central
(http://repo.maven.apache.org/maven2): repo.maven.apache.org
[警告]org.apache.maven.plugins / maven-metadata不能传输元数据。xml从/到中央
(http://repo.maven.apache.org/maven2):http://repo.maven.apache.org/maven2
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/
to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org
[警告]org.codehaus.mojo / maven-metadata不能传输元数据。xml的/
中央(http://repo.maven.apache.org/maven2):http://repo.maven.apache.org/maven2
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from
http://repo.maven.apache.org/maven2 was cached in the local repository, resolution
will not be reattempted until the update interval of central has elapsed or up
dates are forced. Original error: Could not transfer metadata
org.apache.maven.plugins/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2):
repo.maven.apache.org
[警告]org.apache.maven.plugins / maven-metadata转移失败。xml从
http://repo.maven.apache.org/maven2缓存的本地存储库,决议
之前不会reattempted之后或中部的更新间隔
日期是被迫的。原始错误:无法传输元数据
org.apache.maven.plugins / maven-metadata。xml从/到中央(http://repo.maven.apache.org/maven2):
repo.maven.apache.org
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from
http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will
not be reattempted until the update interval of central has elapsed or updates are forced.
Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to
central (http://repo.maven.apache.org/maven2): repo.maven.apache.org
[警告]org.codehaus.mojo / maven-metadata转移失败。xml从
http://repo.maven.apache.org/maven2缓存的本地存储库,决议
不是reattempted直到更新间隔中央强制运行或更新。
原始错误:无法转移org.codehaus.mojo / maven-metadata元数据。xml从/到
中央(http://repo.maven.apache.org/maven2):http://repo.maven.apache.org/maven2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.597 s
[INFO] Finished at: 2014-08-05T08:59:52+08:00
[INFO] Final Memory: 3M/85M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix ‘help’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (F:\Repositories\Maven), central (http://repo.maven.apache.org/maven2)] -> [Help 1]
原因分析:看错误提示大概是说下载失败,那肯定就是网络的问题了。首先看你是移动还是网通的网络。需要设置代理。在maven的settings.xm文件里面的节点里面添加代理设置就可以了。我找到了四个可以使用的代理,废话不多少上代码:
1、
<mirror> <id>Central</id> <url>http://repo1.maven.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror>
2、
<mirror> <id>ibiblio.org</id> <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name> <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url> <mirrorOf>central</mirrorOf> <!-- United States, North Carolina --> </mirror>
3、
<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>
4、
<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>
这四个都可以使用代码直接粘贴就可以了,楼主用的是第四个速度最快的。这个是阿里云的一个代理 其他的速度有点不能忍
其他相关网址:
http://blog.csdn.net/shycx/article/details/7726600
http://blog.csdn.net/xuefeng0707/article/details/42157311
http://blog.csdn.net/htqing/article/details/54890864
本博客转自:https://blog.csdn.net/u010974598/article/details/66742912
mvn help:system下载包失败错误解决!相关推荐
- 解决npm下载包失败的问题
解决npm下载包失败的问题 参考文章: (1)解决npm下载包失败的问题 (2)https://www.cnblogs.com/rengised/p/6682235.html 备忘一下.
- 解决go get下载包失败问题
解决go get下载包失败问题 参考文章: (1)解决go get下载包失败问题 (2)https://www.cnblogs.com/nickchen121/p/11517465.html 备忘一下 ...
- Android Studio gradle下载依赖包失败的解决办法
Android Studio gradle下载依赖包失败 的解决办法 使用Android Studio在第一次导入项目或者配置完Kotlin后,会一直Build,因为需要下载一些项目中配置的依赖和gr ...
- IDEA中使用Maven下载依赖失败的解决办法
在许多开发者使用IDEA工具开发Maven项目时,经常会遇到maven的Dependecies和pom.xml文件报错,一般这种情况都是jar依赖包下载失败而导致,从而浪费许多开发者和学者的时间.我将 ...
- X509证书 指定了无效的提供程序类型 System.Security.Cryptography.CryptographicException 错误解决方法
X509证书 指定了无效的提供程序类型 System.Security.Cryptography.CryptographicException 错误解决方法 参考文章: (1)X509证书 指定了无效 ...
- composer 下载包慢的解决方法
composer 下载包慢的解决方法 参考文章: (1)composer 下载包慢的解决方法 (2)https://www.cnblogs.com/chancy/p/7553988.html 备忘一下 ...
- Charles4.6.2版本手机抓包设置,抓包失败的解决方法详解
一.Charles手机抓包设置 第一步:设置Charles为允许状态,并设置好接入的接口 在Charles的菜单栏选择"Proxy"->"Proxy Setting ...
- pycharm安装各种包的错误解决历程
文章目录 镜像 安装jupyter包 安装lmdb包 安装mahotas包 镜像 首先,安装每个包的命令后面都加上了镜像-i https://pypi.douban.com/simple,是因为之前没 ...
- 使用go mod 飞速下载 gin,解决go get下载包失败的问题
配置七牛云的代理:go env -w GOPROXY=https://goproxy.cn,direct 使用go get下载gin:go get -u github.com/gin-gonic/gi ...
- windows 解决 Go下载包失败 设置代理
在Go 最新的版本里面中,我们可以通过GOPROXY来控制代理,以及通过GOPRIVATE控制私有库不走代理. 设置GOPROXY代理: go env -w GOPROXY=https://gopro ...
最新文章
- Redis 管道技术
- 【体验】说好的千元开发板,实用党体验单板机先驱者——Leez P710
- 大数据WE阶段(十七)文件上传
- http get extension information - another way to get host url and port number of current application
- 数字图像与数字图像处理
- 数据传输服务 DTS > 数据迁移 > 从自建数据库迁移至阿里云 > 源库为MySQL > 从自建MySQL迁移至RDS MySQL
- oracle数据库操作文档,oracle数据库操作
- VC++ 6.0如何创建与调用动态链接库
- linux免采集卡直播ps4,ps4免采集卡直播方法
- linux下运行exe程序之wine的使用与安装
- 遗传算法在计算机视觉上的应用,遗传算法在视觉感知方面的应用
- 百度硬盘搜索插件开发指南(摘自百度)
- 7-5 3824经典游戏分数 20 作者 李佳单位 重庆大学
- dev 服务器调试过程
- 干掉Office 正版增值计划通知 (KB949810)-CHS
- 拆解一个比亚迪的车钥匙,这个黑黑的元器件是什么?
- 搭建springcloud微服务下的网关Netfilx Zuul
- linux反向查看文件内容tac,Linux查看文件内容的方法(cat,tac,more,less,head,tail)
- 浏览器上检测电脑是否安装某个应用程序
- 微型计算机内存储器的总称为,微型计算机的内存储器是
热门文章
- 西门子主程序调用子程序_西门子PLC调用子程序的方法
- 整整1600套Axure原型图设计源文件UI UX交互设计案例
- 《模拟电子技术》清华大学华成英教授主讲
- java编程实现食堂饭卡刷卡_饭卡系统java
- CAN总线分析仪使用及调试方式
- 前端开源实战项目推荐
- 大一计算机基础考试知识点,大学计算机基础考试知识点(完整版)
- 最强面试题整理第一弹:Python 基础面试题(附答案)
- 第十届“泰迪杯”挑战赛B题,获国家一等奖,提名国特,电力负荷预测及突变点检测分析论文、思路、程序分享
- C语言的源代码文件、目标文件和可执行文件