首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Opendaylight netconf-测试工具构建失败

Opendaylight netconf-测试工具构建失败
EN

Stack Overflow用户
提问于 2018-05-14 14:59:01
回答 2查看 329关注 0票数 0

嗨,我试图克隆存储库,并构建opendaylight wiki页面中提到的源代码。但是建筑失败了。

链接:测试工具

以下是我遵循的步骤:

  1. 查看来自git的最新netconf存储库
  2. 深入netconf/netconf/tools/netconf-测试工具/文件夹
  3. 使用mvn干净安装命令构建测试工具

生成失败时有以下错误跟踪:

代码语言:javascript
复制
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.opendaylight.netconf:netconf-parent:1.5.0-SNAPSHOT: Could not find artifact org.opendaylight.mdsal:binding-parent:pom:0.13.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ org.opendaylight.netconf:netconf-parent:1.5.0-SNAPSHOT, /home/balakrishnan/netconf_simulator/netconf/netconf/netconf-parent/pom.xml, line 11, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.opendaylight.netconf:netconf-testtool:1.5.0-SNAPSHOT (/home/balakrishnan/netconf_simulator/netconf/netconf/tools/netconf-testtool/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.opendaylight.netconf:netconf-parent:1.5.0-SNAPSHOT: Could not find artifact org.opendaylight.mdsal:binding-parent:pom:0.13.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ org.opendaylight.netconf:netconf-parent:1.5.0-SNAPSHOT, /home/balakrishnan/netconf_simulator/netconf/netconf/netconf-parent/pom.xml, line 11, column 11 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2018-05-15 07:39:43

构建需要您的Maven安装程序不知道的工件。您需要文件;如果您在Unix样式的环境中运行:

代码语言:javascript
复制
cp -n ~/.m2/settings.xml{,.orig}
wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml

这将将Maven配置为从OpenDaylight下载OpenDaylight Nexus存储库工件;然后您将能够直接构建netconf-testtool

票数 2
EN

Stack Overflow用户

发布于 2018-05-14 18:55:17

您需要从自顶向下构建整个netconf项目(即mvn安装)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50333439

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档