无法下载和安装旧的 OpenDayLight 版本
Cannot download & install old OpenDayLight versions
我需要下载旧的 ODL 版本进行测试(在本例中为 Helium 版本),但是当我尝试使用 Maven 构建 ODL 时,无法从 nexus repository 下载 opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT
(它似乎旧版本 <3.0.4 已被清除)并停止。
在哪里可以下载 Helium ODL 并运行成功?
重现错误的步骤:
git clone -b stable/helium https://github.com/opendaylight/controller.git
cd controller/
mvn clean install
[ERROR] The project org.opendaylight.controller:opendaylight-karaf-resources:[unknown-version] (/[...]/controller/opendaylight/distribution/opendaylight-karaf-resources/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.controller:commons.opendaylight:1.4.7-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT in http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.controller:commons.opendaylight:1.4.7-SNAPSHOT, /[...]/controller/opendaylight/commons/opendaylight/pom.xml, line 4, column 11 -> [Help 2]
编辑:This answer 说 SNAPSHOT 版本的生命周期很短,所以对于旧版本,需要自己构建所有依赖项,我该怎么做?
您需要执行 "git clone -b stable/helium ..." 并构建控制器项目所依赖的每个项目。对于 Helium,我相信它只有 odlparent 和 yangtools。
我需要下载旧的 ODL 版本进行测试(在本例中为 Helium 版本),但是当我尝试使用 Maven 构建 ODL 时,无法从 nexus repository 下载 opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT
(它似乎旧版本 <3.0.4 已被清除)并停止。
在哪里可以下载 Helium ODL 并运行成功?
重现错误的步骤:
git clone -b stable/helium https://github.com/opendaylight/controller.git
cd controller/
mvn clean install
[ERROR] The project org.opendaylight.controller:opendaylight-karaf-resources:[unknown-version] (/[...]/controller/opendaylight/distribution/opendaylight-karaf-resources/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.controller:commons.opendaylight:1.4.7-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT in http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.controller:commons.opendaylight:1.4.7-SNAPSHOT, /[...]/controller/opendaylight/commons/opendaylight/pom.xml, line 4, column 11 -> [Help 2]
编辑:This answer 说 SNAPSHOT 版本的生命周期很短,所以对于旧版本,需要自己构建所有依赖项,我该怎么做?
您需要执行 "git clone -b stable/helium ..." 并构建控制器项目所依赖的每个项目。对于 Helium,我相信它只有 odlparent 和 yangtools。