首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >opendaylight中的Hello错误

opendaylight中的Hello错误
EN

Stack Overflow用户
提问于 2018-02-05 16:32:16
回答 1查看 284关注 0票数 0

我正试图在ODL中实现hello,“使用不同的名称qos”。我在link1link1中遵循了两个不同的过程,但在这两个过程中都出现了相同的错误。

代码语言:javascript
复制
[INFO] Reactor Summary:
[INFO] ODL :: org.opendaylight.qos :: qos-api ............. SUCCESS [  8.455 s] 
[INFO] ODL :: org.opendaylight.qos :: qos-impl ............ SUCCESS [  3.612 s]
[INFO] ODL :: org.opendaylight.qos :: qos-cli ............. SUCCESS [  3.268 s]
[INFO] ODL :: org.opendaylight.qos :: qos-features ........ FAILURE [01:30 min]
[INFO] ODL :: org.opendaylight.qos :: qos-karaf ........... SKIPPED
[INFO] ODL :: org.opendaylight.qos :: qos-artifacts ....... SKIPPED
[INFO] ODL :: org.opendaylight.qos :: qos-it .............. SKIPPED
[INFO] qos ................................................ SKIPPED
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project qos-features: There are test failures.
[ERROR] Please refer to /home/qos/features/target/surefire-reports for the individual test results.
[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/MojoFailureException
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :qos-features

我没有更改特性文件夹中的任何内容,我的maven项目是使用以下命令构建的。我首先使用oomph安装程序与集成项目一起设置所需的插件,然后将我的项目添加为现有的maven项目。

代码语言:javascript
复制
mvn archetype:generate -DarchetypeGroupId= org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.release/ -DarchetypeCatalog=remote -DarchetypeVersion=1.3.0-Carbon
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-02-06 10:10:20

为了澄清其他人,org.opendaylight.qos不是一个Opendaylight.org项目,而是您在使用原型时给出的名称。

损坏的features构建似乎是因为发布的(旧的) archetypeVersion=1.3.0-Carbon似乎被破坏了。你考虑过只用最新的吗?

确保您拥有ODL settings.xml,然后只需:

代码语言:javascript
复制
mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller \
    -DarchetypeArtifactId=opendaylight-startup-archetype \
    -DarchetypeCatalog=remote -DarchetypeVersion=1.5.0-SNAPSHOT
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48627145

复制
相关文章

相似问题

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