我正试图在ODL中实现hello,“使用不同的名称qos”。我在、link1、和link1中遵循了两个不同的过程,但在这两个过程中都出现了相同的错误。
[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项目。
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发布于 2018-02-06 10:10:20
为了澄清其他人,org.opendaylight.qos不是一个Opendaylight.org项目,而是您在使用原型时给出的名称。
损坏的features构建似乎是因为发布的(旧的) archetypeVersion=1.3.0-Carbon似乎被破坏了。你考虑过只用最新的吗?
确保您拥有ODL settings.xml,然后只需:
mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller \
-DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeCatalog=remote -DarchetypeVersion=1.5.0-SNAPSHOThttps://stackoverflow.com/questions/48627145
复制相似问题