【发布时间】:2016-09-12 14:27:20
【问题描述】:
我是 Maven 设置的新手,在设置时面临挑战。当 eclipse 运行配置以设置 Maven 时,它会抛出如下错误:
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
我完全可以手动下载https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/ 的资源,并且看不到理解连接定时错误。我已经清理了 .m2 文件夹并开始了新的 Maven 项目配置,但没有运气。另外,我在 .m2 文件夹中看不到 setting.xml。欢迎任何建议。提前致谢。
【问题讨论】:
标签: eclipse maven selenium-webdriver maven-3 maven-assembly-plugin