请参考下面我不能对日食MAVEN依赖失败
- 1)下载日食
- 2)下载Maven仓库
- 3)设置环境变量M2_HOME,MAVEN_HOME,JAVA_HOME运行Maven项目
- 4)SET路径行家bin文件夹
和mvn -version
工作正常
在以下情况下,它无法更新行家,而从CMD运行,请帮助
C:\Users\sridhar.m> mvn eclipse:eclipse
[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:mave
n-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or on
e 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:mave
n-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 o
r one of its dependencies could not be resolved: Failed to read artifact descrip
tor for org.apache.maven.plugins:maven-install-plugin:jar:2.4
你的格式是远远易于阅读,请检查,如果我申请重新格式化是你心目中 –
这听起来像一个代理问题,有什么一致的。 – Tunaki
我建议直接使用Maven仓库管理等的Nexus,而不是访问Maven的中央(或其他存储库)。 – Puce