wtxnpw 发表于 2015-10-13 14:23:24

CloudStack debug环境vmware编译错误

继续编译以支持vmware/netscaler/netapp等nonoss的plugin。按社区文档,下载一堆包到deps,运行install-non-oss.sh
结果如下: Failed to executegoalorg.apache.maven.plugins:maven-surefire-plugin:2.12:test(default-test) on projectcloud-plugin-hypervisor-vmware: There aretest failures. Please referto/opt/cloudstack/plugins/hypervisors/vmware/target/surefire-reportsfor the individual testresults. -> To see the full stacktrace of theerrors, re-run Maven with the-e switch. Re-run Maven using the-X switch toenable full debuglogging. For more informationabout the errorsand possible solutions, pleaseread the followingarticles: http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException After correcting theproblems, you canresume the build with thecommand   mvn-rf:cloud-plugin-hypervisor-vmware
神一般的错误再现。接受上次教训,自己读文档,发现一个缺失的步骤....

In case of 4.2/master, Minsuggests on ML: To build non-oss build, you need to first downloadVmware 5.1 SDK fromhttps://my.vmware.com/group/vmware/get-download?downloadGroup=VSP510-WEBSDK-510 (Version:5.1,Release-date: 2012-09-10, Build: 774886) to a temp directory.This is a zip file, unzip file and you will see a vim25.jar in/vsphere-ws/java/JAXWS/lib. Place this vim25.jar in deps folder andrename it as vim25_51.jar, then run: deps/install-non-oss.sh toinstallit into your m2 repo.
意思就是要下载新版的vim25,覆盖掉之前下载放到deps下的然后再次运行install-non-oss.shclean之后重新编译。。。终于过去了
总结:依然是坑啊。。。
仔细读文档是必须的:https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack一行都不能落下啊,英文不想读的童鞋。。。看我的教训也成         版权声明:本文为博主原创文章,未经博主允许不得转载。
页: [1]
查看完整版本: CloudStack debug环境vmware编译错误