控制台输入 mvn help:system 下载相应包时 出现如下问题:

Noplugin found for prefix ‘help’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories

详细错误如下:

[INFO] Scanning for projects...
Downloading: https://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
Downloading: https://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
Downloading: https://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
Downloading: https://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
Downloading: https://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
Downloading: https://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
Downloading: https://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
Downloading: https://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
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from https://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.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https://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 (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.055 s
[INFO] Finished at: 2018-09-15T21:56:49+08:00
[INFO] Final Memory: 10M/144M
[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 (E:Javaapache-maven-3.3.3
epository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

可能是镜像服务器地址出现问题( 猜测是镜像地址被禁了)。

解决方法:在maven目录的conf目录下编辑settings.xml文件,添加如下代码:

 <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>

添加相应代码后, 重新执行命令 mvn help:system 即可运行成功。

maven出现No plugin found for prefix ‘help‘ in the current project and in the plugin groups [org.ap相关推荐

  1. Maven出现错误No plugin found for prefix ‘jetty‘ in the current project and in the plugin groups的问题解决

    Maven出现错误No plugin found for prefix 'jetty' in the current project and in the plugin groups的问题解决 参考文 ...

  2. 错误:No plugin found for prefix spring-boot in the current project and in the plugin groups

    前言 maven 3.6.1 springboot v2.1.x 在多模块的 Maven 项目中,执行 mvn spring-boot:run -pl xxx.groupId:xxx.artifact ...

  3. 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups

    在maven进行jetty的调试中出现错误: [ERROR] No plugin found for prefix 'jetty' in the current project and in the ...

  4. No plugin found for prefix ‘compile‘ in the current project

    在编译flink的scala工程的时候,编译命令如下: mvn scala compile:compile package 完整报错信息如下: [INFO] --------------------- ...

  5. 【maven】No plugin found for prefix ‘install‘ in the current project

    1.场景1 1.1 概述 在安装jar文件到本地仓库时有时会遇到这样的问题 解决方法: 下载 wagon-http-lightweight-2.2.jar 位置 https://repo.maven. ...

  6. no plugin found for prefix ‘tomcat 7‘ in the current project and in the plugin groups的解决方法

    no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups的解决方法 参考文章: (1) ...

  7. Maven配置完毕后构建失败,无法下载JAR包,输入mvn help:system后出现No plugin found for prefix ‘help‘...问题的解决方案

    这个问题困扰了我很久,找了很多解决方案,但还是一直无法解决.我在虚拟机中按照标准步骤配置了很多次,每次都能够成功,但一在物理机中,相同的配置步骤带来的结果却总是配置失败,在cmd中输入mvn help ...

  8. No plugin found for prefix ‘scala‘ pom.xml

    需要加入插件maven-scala-plugin <groupId>org.example</groupId><artifactId>datastream_api& ...

  9. docker maven 打包jar_maven 打包 spring boot 生成docker 镜像

    1.所使用材料 ,spring boot 项目 基于maven ,maven 工具, docker工具 ps:为啥使用 docker 公司微服务需要启动太多,有两个优点吧! 1.方便管理,2.减少服务 ...

最新文章

  1. Lucene 简单手记
  2. python标准库time_Python 标准库之时间篇
  3. Linux下如何自己编译源代码(制作成可以安装的.deb文件)
  4. PHP十六个魔术方法
  5. Spring AOP 的日志管理实现
  6. JAVA 简单综合题目 小型公司职工对象
  7. 用java画一个网格_用SolidWorks画一个波浪起伏的烟灰缸,包覆是重点
  8. *第八周*数据结构实践项目一【建设顺序串算法库】
  9. FlashFXP v3.5.4注册码+FlashFXP v3.6.0注册码+FlashFXP v3.7.2.build.1266...
  10. 卡方检验的统计量推导_解释相关性的卡方检验的所有统计量 - Minitab
  11. CINTA拉格朗日定理
  12. 《非暴力沟通》---第二章(是什么蒙蔽了爱?)读书笔记
  13. html表格边框怎么消除,如何去除table的粗边框
  14. 阿里巴巴按关键字搜索新品数据 API
  15. JavaCV入门指南:调用opencv原生API和JavaCV是如何封装了opencv的图像处理操作?
  16. 微信小程序集成jenkins自动打码
  17. internal/modules/cjs/loader.js:584 issue
  18. 【附源码模型】战网验证码识别
  19. 解决robotiq_85机械爪在gazebo中散架(关节解体)的问题
  20. CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes

热门文章

  1. Python实训笔记
  2. 关于IMX双通道LVDS 的深入讲解
  3. [数值微分]数值微分的误差分析
  4. 这样写英文Email,老外会感觉你很有礼貌、很有风度,很想帮助你
  5. 频临死亡的校园BBS自救决心仍需加大
  6. 作为程序员中的绅士,这10个技巧会让你的代码更加优雅
  7. Unity2D游戏学习
  8. 物联网智能家居项目总结(全)
  9. php大作业关于中国美食,中国最火的15大美食
  10. sql数据库之提取时间函数date()、year()、month()...及示例