CloudStack debug環境vmware編譯錯誤

繼續編譯以支持vmware/netscaler/netapp等nonoss的plugin。
按社區文檔,下載一堆包到deps,運行install-non-oss.sh

結果如下:
[ERROR] Failed to executegoal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) on projectcloud-plugin-hypervisor-vmware: There are
test failures.
[ERROR] 
[ERROR] Please referto
/opt/cloudstack/plugins/hypervisors/vmware/target/surefire-reports
for the individual testresults.
[ERROR] -> [Help1]
[ERROR] 
[ERROR] To see the full stacktrace of the
errors, re-run Maven with the-e switch.
[ERROR] Re-run Maven using the-X switch to
enable full debuglogging.
[ERROR] 
[ERROR] For more informationabout the errors
and possible solutions, pleaseread the following
articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting theproblems, you can
resume the build with thecommand
[ERROR]   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 toinstall it into your m2 repo.

意思就是要下載新版的vim25,覆蓋掉之前下載放到deps下的
然後再次運行install-non-oss.sh
clean之後重新編譯。。。終於過去了

總結:依然是坑啊。。。

仔細讀文檔是必須的:https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
一行都不能落下啊,英文不想讀的童鞋。。。看我的教訓也成
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章