【发布时间】: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