我按照ONOS (开放网络操作系统)上的链接在我的Ubuntu16.04机器上安装ONOS。在onos目录中运行命令"mvn清洁安装“后,安装过程失败。
--debug开关显示由"access denied" and "ReasonPhrase:Forbidden" while transferring artifact from repo.maven.apache.org/maven2/引起的错误,例如:
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
> Could not transfer artifact
> org.apache.felix:maven-bundle-plugin:pom:3.2.0 from/to central
> (https://repo.maven.apache.org/maven2): Access denied to:
> https://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/3.2.0/maven-bundle-plugin-3.2.0.pom
> , ReasonPhrase:Forbidden.古格尔再也帮不了我了
更新:有些人对我也有同样的问题。我又仔细地测试了一遍。
为什么?我如何配置maven使其像FireFox和Chrome一样工作呢?
发布于 2016-09-13 02:38:24
您无法连接到https://repo.maven.apache.org/maven2下载工件。检查你的网络连接。
如果您的机器在代理后面,那么遵循配置代理设置的指南
https://stackoverflow.com/questions/39455084
复制相似问题