我刚试着安装Optashift,但遇到了一个开箱即用的编译问题:
我得到了这个错误:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Employee Rostering as a Service Parent ............. SUCCESS [ 1.062 s]
[INFO] Employee Rostering as a Service Shared ............. SUCCESS [ 2.817 s]
[INFO] Employee Rostering as a Service Shared GWT wrapper . SUCCESS [ 10.459 s]
[INFO] Employee Rostering as a Service GWT UI ............. SUCCESS [06:55 min]
[INFO] Employee Rostering as a Service Server ............. SUCCESS [ 0.402 s]
[INFO] Employee Rostering Service Java Client ............. SUCCESS [ 19.308 s]
[INFO] Employee Rostering as a Service Webapp ............. FAILURE [ 15.267 s]
[INFO] Employee Rostering as a Service Benchmark .......... SKIPPED
[INFO] Employee Rostering as a Service documentation ...... SKIPPED
[INFO] Employee Rostering as a Service Distribution ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:46 min
[INFO] Finished at: 2018-03-11T12:14:26+01:00
[INFO] Final Memory: 88M/967M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.6.5:start (start-container) on project optashift-employee-rostering-webapp: Execution start-container of goal org.codehaus.cargo:cargo-maven2-plugin:1.6.5:start failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [to-be-specified-in-a-profile], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [Help 1]
[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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :optashift-employee-rostering-webapp会有什么问题呢?
我可以在一个简单的Tomcat中部署这个war吗(我尝试的时候遇到了错误),或者这个项目中有Openshift依赖项吗?
发布于 2018-03-12 16:12:47
.provision.sh脚本不使用-DskipTests,因此运行测试。这些测试使用的是maven-cargo-plugin,显然是因为某些原因而失败。失败的不是测试,而是cargo/wildfly部署由于某种原因而失败。
是否也可以在此输出前粘贴几行? We're tracking this issue in jira.
https://stackoverflow.com/questions/49219424
复制相似问题