我当前的环境简介: 1、centos 6.3 2、cs 4.3 3、deps:如下包 apputils.jar cloud-iControl.jar vim25_51.jar XenServerJava cloud-netscaler.jar cloud-netscaler-sdx.jar manageontap.jar vim.jar
在执行src/packaging/centos63/package.sh 打包成rpm时,报如下错: *[ERROR] Failed to execute goal on project cloud-plugin-hypervisor-kvm: Could not resolve dependencies for project org.apache.cloudstack:cloud-plugin-hypervisor-kvm:jar:4.3.0: The following artifacts could not be resolved: org.libvirt:libvirt:jar:0.5.1, com.ceph:rados:jar:0.1.3: Failure to find org.libvirt:libvirt:jar:0.5.1 in http://maven.oschina.net/content/groups/public/ <http://maven.oschina.net/content/groups/public/> was cached in the local repository, resolution will not be reattempted until the update interval of nexus-osc has elapsed or updates are forced -> [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/DependencyResolutionException <http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException>* *[ERROR] * *[ERROR] After correcting the problems, you can resume the build with the command* *[ERROR] mvn <goals> -rf :cloud-plugin-hypervisor-kvm* *error: Bad exit status from /var/tmp/rpm-tmp.P7knC6 (%build)* *RPM build errors:* * Bad exit status from /var/tmp/rpm-tmp.P7knC6 (%build)*