Java 插件 org.apache.maven.plugins:maven-resources-plugin:2.5
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20074681/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
提问by user3009301
Am getting following error.I have jdk1.7.0_05
, maven 3.0.5
and eclipse juno
. what might be possible proble for this ?
出现以下错误。我有jdk1.7.0_05
,maven 3.0.5
和eclipse 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.
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.
回答by fjtorres
Viewing this message in error: "The repository system is of fline"
错误查看此消息:“存储库系统已运行”
It is possible that offline option has checked in eclipse preferences for Maven, check in window/preferences/maven.
有可能离线选项已经在 Maven 的 eclipse 首选项中签入,签入 window/preferences/maven。
回答by user1419261
Click the update settings button on the windows-preferences-maven and after updating the proxies in settings.xml this may referesh your settings.
单击 windows-preferences-maven 上的更新设置按钮,更新 settings.xml 中的代理后,这可能会刷新您的设置。