Hi Jim, I had followed your below steps still am unable to build nonoss. Its failing at vmware dependencies still. I had copied all the deps jar to deps folde.r
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-patches --- [INFO] Installing /home/rajesh/acs/patches/pom.xml to /home/rajesh/.m2/repository/org/apache/cloudstack/cloud-patches/4.1.0-SNAPSHOT/cloud-patches-4.1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack VMware Base 4.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.cloud.com.vmware:vmware-vim25:jar:4.1 is missing, no dependency information available [WARNING] The POM for com.cloud.com.vmware:vmware-vim:jar:4.1 is missing, no dependency information available [WARNING] The POM for com.cloud.com.vmware:vmware-apputils:jar:4.1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack ................................. SUCCESS [2.828s] [INFO] Apache CloudStack Utils ........................... SUCCESS [13.456s] [INFO] Apache CloudStack API ............................. SUCCESS [10.030s] [INFO] Apache CloudStack Core ............................ SUCCESS [5.796s] [INFO] Apache CloudStack Agents .......................... SUCCESS [5.152s] [INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [1.007s] [INFO] Apache CloudStack VMware Base ..................... FAILURE [0.053s] [INFO] Apache CloudStack Server .......................... SKIPPED [INFO] Apache CloudStack Plugin POM ...................... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor VMware ...... SKIPPED [INFO] Apache CloudStack Console Proxy ................... SKIPPED [INFO] Apache CloudStack Usage Server .................... SKIPPED [INFO] Apache XenSource XAPI ............................. SKIPPED [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - Host Allocator Random .. SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SKIPPED [INFO] Apache CloudStack Plugin - Open vSwitch ........... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SKIPPED [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SKIPPED [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SKIPPED [INFO] Apache CloudStack Plugin - Storage Allocator Random SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator LDAP SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SKIPPED [INFO] Apache CloudStack Plugin - NetApp File System ..... SKIPPED [INFO] Apache CloudStack Plugin - F5 ..................... SKIPPED [INFO] Apache CloudStack Plugin - Network Netscaler ...... SKIPPED [INFO] Apache CloudStack Plugin - Juniper SRX ............ SKIPPED [INFO] Apache CloudStack AWS API Bridge .................. SKIPPED [INFO] Apache CloudStack Client UI ....................... SKIPPED [INFO] Apache CloudStack Test ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 38.888s [INFO] Finished at: Thu Dec 20 08:35:14 IST 2012 [INFO] Final Memory: 14M/35M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project cloud-vmware-base: Could not resolve dependencies for project org.apache.cloudstack:cloud-vmware-base:jar:4.1.0-SNAPSHOT: The following artifacts could not be resolved: com.cloud.com.vmware:vmware-vim25:jar:4.1, com.cloud.com.vmware:vmware-vim:jar:4.1, com.cloud.com.vmware:vmware-apputils:jar:4.1: Failure to find com.cloud.com.vmware:vmware-vim25:jar:4.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :cloud-vmware-base rajesh@rajesh-HVM-domU:~/acs$ cd vmware-base/ rajesh@rajesh-HVM-domU:~/acs/vmware-base$ mvn clean install Listening for transport dt_socket at address: 8787 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack VMware Base 4.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.cloud.com.vmware:vmware-vim25:jar:4.1 is missing, no dependency information available [WARNING] The POM for com.cloud.com.vmware:vmware-vim:jar:4.1 is missing, no dependency information available [WARNING] The POM for com.cloud.com.vmware:vmware-apputils:jar:4.1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.975s [INFO] Finished at: Thu Dec 20 08:35:33 IST 2012 [INFO] Final Memory: 4M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project cloud-vmware-base: Could not resolve dependencies for project org.apache.cloudstack:cloud-vmware-base:jar:4.1.0-SNAPSHOT: The following artifacts could not be resolved: com.cloud.com.vmware:vmware-vim25:jar:4.1, com.cloud.com.vmware:vmware-vim:jar:4.1, com.cloud.com.vmware:vmware-apputils:jar:4.1: Failure to find com.cloud.com.vmware:vmware-vim25:jar:4.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central 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 rajesh@rajesh-HVM-domU:~/acs/vmware-base$ ~ -----Original Message----- From: Jim L. [mailto:j...@pobox.com] Sent: Thursday, December 20, 2012 7:01 AM To: cloudstack-users@incubator.apache.org Subject: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled I reviewed the logs and noticed a couple of things: The vmware-cloud-base jar file in the local repo was never built correctly; I performed the following commands to correct the problem: *cd /vmware-base* *mvn install* This corrected the problem with the build for cloud-vmware-base jar file. Now the following commands work: *mvn clean -Dnonoss install* Also: The manageontap.jar file was also not correct in the local repo; the deps/install-non-oss.sh script did not install it correctly. On Wed, Dec 19, 2012 at 2:28 PM, Jim L. <j...@pobox.com> wrote: > Hi, > > Following the instructions from: > > Chapter 3 from the Cloudstack 4.0 Installation Guide; > > https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html; > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWa > re; > > > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/2012 > 12.mbox/%3C35F04D4C394874409D9BE4BF45AC5EA9010B2807B6B0@BANPMAILBOX01. > citrite.net%3E > > I attempted to build Cloudstack 4.0.0 with vmware enabled using the > following commands: > > > *mvn -P deps* > *mvn clean* > *mvn -P vmware install -e* > > > What I get is the following error: > > *Failed to execute goal on project cloud-plugin-hypervisor-vmware: > Could not resolve dependencies for project > org.apache.cloudstack:cloud-plugin-hypervisor-vmware:jar:4.0.0-incubating-SNAPSHOT: > * > * > * > *Caused by: org.apache.maven.project.DependencyResolutionException: > Could not resolve dependencies for project > org.apache.cloudstack:cloud-plugin-hypervisor-vmware:jar:4.0.0-incubating-SNAPSHOT: > Failure to find > org.apache.cloudstack:cloud-vmware-base:jar:4.0.0-incubating-SNAPSHOT > in http://repository.apache.org/snapshots was cached in the local > repository, resolution will not be reattempted until the update > interval of apache.snapshots has elapsed or updates are forced* > > > In my ~/.m2/repository/com/cloud/com/vmware directory, I have three files: > vmware-apputils, vmware-vim, vmware-vim25 > > > I just want to build the vmware plug-in, because there are other > problems with using -Dnonoss involving the netapp plug-in (even though > I have the required manageontap.jar file). > > > Can anyone help/show me how to build Cloudstack 4.0 with vmware enabled? > This is turning out to be an incredibly frustrating exercise. > > > > Thanks -- Jim L. > >