> -----Original Message----- > From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] > Sent: 19 December 2012 11:54 > To: cloudstack-dev@incubator.apache.org > Subject: Building Master is failing for nonoss. > > Hi, > > Am not able to build master , Am building nonoss. Using mvn install - > Dnonoss. > Building is getting failed when mvn tries to build VMWare base. > > Any workaround?
Please try the following steps. 1. Copied the dependencies in deps directory as per document https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html 2. Removed ~/.m2/repository and ~/.m2/settings.xml 3. mvn -P deps; 4. mvn clean 5. mvn -Dnonoss install > > > [INFO] Executed tasks > [INFO] > [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] ---- > -------------------------------------------------------------------- > [INFO] ----------------------------------------------------------------- > ------- > [INFO] Reactor Summary: > [INFO] > [INFO] Apache CloudStack ................................. SUCCESS > [1.945s] [INFO] Apache CloudStack Utils ........................... > SUCCESS [6.840s] [INFO] Apache CloudStack API > ............................. SUCCESS [2.929s] [INFO] Apache CloudStack > Core ............................ SUCCESS [1.294s] [INFO] Apache > CloudStack Agents .......................... SUCCESS [3.194s] [INFO] > Apache CloudStack SystemVM Patches ................ SUCCESS [0.779s] > [INFO] Apache CloudStack VMware Base ..................... FAILURE > [0.030s] [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] CloudStack Dns Notifier Example > ................... 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: 17.767s > [INFO] Finished at: Wed Dec 19 11:47:48 IST 2012 [INFO] Final Memory: > 15M/36M [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/DependencyResolutionExc > eption > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :cloud-vmware-base > > > Thanks > Rajesh Battala Regards, Sateesh