插件org.apache.maven.plugins:maven-resources-plugin:2.5

时间:2013-11-19 14:51:07

标签: java maven m2eclipse

我收到了以下错误。我有jdk1.7.0_05maven 3.0.5eclipse juno。可能有什么问题呢?

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: The repository system is of fline but the artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5 i s not available in the local repository.

2 个答案:

答案 0 :(得分:1)

错误地查看此消息:“存储库系统是fline”

离线选项可能已经在Maven的eclipse偏好中检查过,请检入window / preferences / maven。

答案 1 :(得分:0)

单击windows-preferences-maven上的更新设置按钮,在更新settings.xml中的代理后,这可能会引用您的设置。