【问题标题】:Maven Repositories for Spring RooSpring Roo 的 Maven 存储库
【发布时间】:2012-02-03 12:37:00
【问题描述】:

我的意图是用我的本地 Nexus 安装代理 Roo Maven 存储库,以便它包含 Roo 1.2.0.RELEASE 包。

http://static.springsource.org/spring-roo/reference/html/resources.html 上写道,Roo 构建发布在http://spring-roo-repository.springsource.org/release

不幸的是,该链接返回错误 NoSuchKey

是否有其他一些 Maven 存储库可以从中获取 Roo 包?

【问题讨论】:

  • 你能不能试试用这个镜像,在你的项目中指定spring-roo依赖,看看maven是不是通过你的代理下载的?存储库不可搜索,因此该消息。
  • 作为一种解决方法,尝试将 Roo 库本地安装到您的 Maven 存储库中。通常,您不会在应有的存储库中找到 Springsource 库。

标签: maven maven-3 spring-roo nexus


【解决方案1】:

基于Nexus ticket,我通过以下方式解决了我的问题:

  1. 在 Nexus 上为 http://spring-roo-repository.springsource.org/release 创建代理
  2. 将此存储库添加到默认的“公共存储库”组中

Nexus 将代理请求的工件并创建此工件的索引,但它无法索引整个 http://spring-roo-repository.springsource.org/release 存储库,因为它的索引未发布。这个问题的原因是它托管在 Amazon S3 存储上。

【讨论】:

    【解决方案2】:

    创建(在 Nexus 中)具有远程存储位置 = http://spring-roo-repository.springsource.org/release 的代理存储库 然后,将其添加到公共存储库组。

    【讨论】:

    • 不幸的是,这是我想做的,但是存储库返回错误并且没有被 Nexus 索引
    猜你喜欢
    • 1970-01-01
    • 2023-03-24
    • 1970-01-01
    • 1970-01-01
    • 2013-05-06
    • 1970-01-01
    • 1970-01-01
    • 2012-08-17
    • 2013-05-25
    相关资源
    最近更新 更多