我正在尝试使用Nexus Repository OSSv2.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.如果有人能让它工作,我会很高兴的。我们成功地代理了其他几个外部存储库。
发布于 2016-05-12 02:50:10
问题是我们使用旧的Java6版本运行Nexus。Java抛出了一个似乎与SSL通信相关的异常。使用Java 8运行Nexus为我们解决了这个问题。
https://stackoverflow.com/questions/36795624
复制相似问题