【发布时间】:2020-01-24 13:27:42
【问题描述】:
我想为 OpendayLight 控制器部署一个应用程序。 所以,我正在关注本指南:https://docs.opendaylight.org/en/stable-sodium/developer-guide/developing-apps-on-the-opendaylight-controller.html
我的步骤很简单:
- 设置基础架构(正确的 settings.xml,安装 maven, 安装jdk);
- 下载的示例模块: mvn 原型:生成 -DarchetypeGroupId=org.opendaylight.archetypes -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeCatalog=remote -DarchetypeVersion=1.2.1 提供这些信息:
Define value for property 'groupId': : org.opendaylight.example Define value for property 'artifactId': : example Define value for property 'version': 1.0-SNAPSHOT: : 1.0.0-SNAPSHOT Define value for property 'package': org.opendaylight.example: : Define value for property 'classPrefix': ${artifactId.substring(0,1).toUpperCase()}${artifactId.substring(1)} Define value for property 'copyright': : Copyright (c) 2015Yoyodyne, Inc
- 运行 mvn clean install 几分钟后,它会返回一个 错误 (here the error log)。 所以我无法编译项目。
谁能帮我解决它? 非常感谢
更新:新日志可在https://lists.opendaylight.org/g/controller-dev/message/14938获得
【问题讨论】:
-
[ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default) on project odl-hello-api: There are test failures. Please refer to /home/vnf/onap_plugin/hello/features/odl-hello-api/target/surefire-reports for the individual test results.看起来你的测试失败了,这就是阻止你构建的原因
标签: java opendaylight