导入Maven项目

时间:2013-11-10 19:21:43

标签: java eclipse maven maven-2 maven-plugin

更新所有软件包并尝试重新安装maven插件后,我遇到了同样的问题。

我无法导入项目!!

错误消息是:

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

1 个答案:

答案 0 :(得分:0)

转到本地存储库(.m2文件夹)并删除本地缓存。然后再尝试导入你的项目。