【发布时间】:2014-04-30 02:06:20
【问题描述】:
每当我尝试用我的 eclipse 开普勒做任何事情时,我都会收到这个错误:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'PcsOne-Persistence'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
我已经尝试了所有方法来解决这个问题,但没有成功:
例子:
- 我已尝试卸载并重新安装 eclipse。
- 清理和安装项目。
- 炸毁 .m2 存储库并重新更新所有依赖项。
- 为 Eclipse 安装 Maven 插件(显示 kepler 没有更新)
无论我做什么,我都会收到几天前在相同设置中不存在的这个错误。它突然冒出来了。
这里可能出了什么问题?
更新: 这是我的 Pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycomp.groupid</groupId>
<artifactId>MyProject-1.0</artifactId>
<version>1.0-SNAPSHOT</version>
</project>
【问题讨论】:
-
@chrylis 确定它对于其中一个项目非常简单。将更新我的问题。敬请期待!