0

我正在尝试将 Springsource maven 存储库添加为我的 nexus 安装中的代理存储库,它仅包括那里的 org/springframework 工件。我无法解决其他任何问题。我需要能够解决:

    <dependency>
        <groupId>org.cloudfoundry</groupId>
        <artifactId>cloudfoundry-runtime</artifactId>
        <version>0.8.2</version>
    </dependency>

http://repo.springsource.org/milestone/org/cloudfoundry/cloudfoundry-runtime/0.8.2/

有谁知道为什么 nexus 不包括 org/cloudfoundry?代理 repo 配置是默认配置,url 为: http ://repo.springsource.org/milestone

任何帮助,将不胜感激!!

4

1 回答 1

1

hipchat nexus 社区一位有用的人的帮助下,我解决了这个问题。我认为问题在于春季回购不在我的公共回购组配置中。他们看起来就像在那里,但我可能在将它们移到那里后从未点击过保存。是什么让我发现这是通过在我的浏览器中加载这个网址:http: //yourdomain.com :8081/nexus/content/groups/public/org/cloudfoundry/cloudfoundry-runtime/0.8.2/cloudfoundry-runtime-0.8 .2.pom?描述

这将吐出一堆 json 并列出了被搜索的 repos。很明显,spring repos 没有被搜索,所以我回到配置,添加它们,这次确定点击保存,然后我可以解决依赖关系!

于 2013-02-14T16:53:10.910 回答