mvn -v执行成功,mvn help:system执行失败,是什么原因(已经折磨了两天了))
下面是报错信息:
C:\Users\86132>mvn help:system
[INFO] Scanning for projects...
Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/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 from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3
Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): Transfer failed for http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): Transfer failed for http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): Transfer failed for http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): Transfer failed for http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.356 s
[INFO] Finished at: 2020-05-26T16:33:02+08:00
[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 (D:\apache-maven\repo), nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)] -> [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我的mvn配置


相关推荐
JDK安装配置实战指南:环境变量、版本选型与多版本管理
JDK(Java Development Kit)是Java开发的基础运行与编译环境,其核心包含javac编译器、java运行时及JVM虚拟机。理解JDK与JRE的区别、JAVA_HOME的系统级作用机制,是解决‘javac不是内部命令’‘UnsupportedClassVersionError’等高频问题的前提。LTS版本(如JDK 17)因长期免费支持和企业级稳定性,已成为Spring Boot 3+等现代框架的事实标准;而非LTS版(如JDK 21)虽引入Virtual Threads等新特性,但免费
JetBrains全家桶生产就绪指南:平台架构、配置避坑与调试实战
JetBrains IDE并非普通编辑器,而是基于IntelliJ Platform构建的四层可插拔开发环境——涵盖Platform Core内核、语言插件、第三方扩展及用户状态配置。其性能瓶颈常源于索引引擎、VFS虚拟文件系统或Xdebug协议兼容性等底层机制,而非表面安装问题。技术价值体现在语义级代码导航、跨框架智能感知与AI辅助编码闭环;典型应用场景包括Spring Boot微服务调试、Webman+Swoole协程断点追踪、.NET项目资源编译集成及团队标准化配置治理。本文聚焦真实工程现场验证的架构
Sidecar模式加速单体应用开发:构建、调试与发布优化实战
Sidecar是一种轻量级、进程外解耦的辅助服务部署模式,源于容器化实践中共享网络命名空间的伴生容器设计,核心原理是将日志采集、配置注入、流量代理等横切关注点从单体应用中剥离,实现物理隔离与独立生命周期管理。其技术价值在于不重构代码、不变更组织结构的前提下,显著提升Dev Speed——尤其在构建耗时、本地环境一致性、灰度发布颗粒度三大痛点上效果突出。典型应用场景包括Java/Spring Boot或.NET Core单体系统的渐进式现代化改造、CI/CD流水线提速、以及向非技术管理者具象化技术债治理收益。
Lithe-IDEA:面向Spring Boot的轻量级开源Java IDE
IDE(集成开发环境)是Java开发者的核心生产力工具,其本质是基于语言服务、代码分析与项目构建能力的可扩展工作台。现代Java开发已高度聚焦于Spring Boot生态,对启动速度、内存占用和框架感知能力提出更高要求。Lithe-IDEA并非简单裁剪的‘精简版IDEA’,而是基于IntelliJ Platform内核重构的JVM专用开发工作台,通过剥离企业级功能模块、强化Spring Boot专属能力(如@ConfigurationProperties校验、Actuator端点导航)、采用按需PSI解析与
Lithe-IDEA:专为Spring Boot打造的轻量开源Java IDE
Java IDE 是支撑企业级后端开发的核心工具,其性能、可维护性与领域适配性直接影响开发效率。现代 Spring Boot 工程强调快速启动、低内存占用、配置安全与上下文感知,而传统通用型 IDE 往往因架构冗余、插件失控和许可证限制难以满足这些诉求。Lithe-IDEA 以 JDT LS 为基础、Rust 构建调度器为底座,通过分代内存管理、LSP 原生集成、Spring Boot 配置元数据实时校验等关键技术,实现秒级启动与精准领域支持。它不追求多语言兼容或 UI 功能堆砌,而是聚焦 Java 和 S


Web 开发
