【发布时间】:2016-08-16 04:34:50
【问题描述】:
我正在尝试使用 Nexus Repository OSS v2.13.0 代理 https://flywaydb.org/repo,因为我们依赖 flyway-sbt sbt 插件。
如果我添加插件,我可以很好地下载插件
resolvers += "Flyway" at "https://flywaydb.org/repo"
到 plugins.sbt
但我们希望使用本地 Nexus 存储库代理人工制品,因为我们不希望我们的构建依赖于我们无法控制的服务器。
但是,当我将服务器添加到 Nexus(使用 Maven2 作为提供程序和格式)时,Nexus 无法代理人工制品,并且在日志中出现以下错误:
[proxy-3-thread-5] admin org.sonatype.nexus.proxy.maven.maven2.M2Repository - Remote peer of proxy repository "flywaydb.org" [id=flywaydb.org] threw a org.sonatype.nexus.proxy.ItemNotFoundException exception. Auto-blocking this repository to prevent further connection-leaks and known-to-fail outbound connections until administrator fixes the problems, or Nexus detects remote repository as healthy. - Cause(s): Remote peer of repository M2Repository(id=flywaydb.org) detected as unavailable.
如果有人能够让这个工作,我会很高兴。我们成功代理了其他几个外部存储库。
【问题讨论】: