【问题标题】:Cannot download & install old OpenDayLight versions无法下载和安装旧的 OpenDayLight 版本
【发布时间】:2018-09-08 07:52:24
【问题描述】:

我需要下载一个旧的 ODL 版本进行测试(在这种情况下是 Helium 版本),但是当我尝试使用 maven 构建 ODL 时,它无法从 nexus repository 下载 opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT(似乎旧版本

在哪里可以下载 Helium ODL 并成功运行?

重现错误的步骤:

git clone -b stable/helium https://github.com/opendaylight/controller.git
cd controller/
mvn clean install

[错误] 项目 org.opendaylight.controller:opendaylight-karaf-resources:[unknown-version] (/[...]/controller/opendaylight/distribution/opendaylight-karaf-resources/pom.xml) 有1 个错误

[错误] org.opendaylight.controller:commons.opendaylight:1.4.7-SNAPSHOT 的不可解析父 POM:未能在 http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ 中找到 org.opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT已缓存在本地存储库中,直到 opendaylight-snapshot 的更新间隔已过或强制更新并且“parent.relativePath”指向没有本地 POM @ org.opendaylight.controller:commons.opendaylight:1.4 时才会重新尝试解析。 7-SNAPSHOT,/[...]/controller/opendaylight/commons/opendaylight/pom.xml,第 4 行,第 11 列 -> [帮助 2]

编辑:This answer 说 SNAPSHOT 版本的生命周期很短,所以对于旧版本,需要自己构建所有依赖项,我该怎么做?

【问题讨论】:

    标签: maven sdn opendaylight


    【解决方案1】:

    您需要执行“git clone -b stable/helium ...”并构建控制器项目所依赖的每个项目。对于 Helium,我相信它只是 odlparent 和 yangtools。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-07
      • 1970-01-01
      • 2012-04-18
      • 2016-12-28
      相关资源
      最近更新 更多