You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Jim L." <ji...@pobox.com> on 2012/12/20 02:30:58 UTC

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. <ji...@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+VMWare;
>
>
> http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201212.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.
>
>

RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by Rajesh Battala <ra...@citrix.com>.

-----Original Message-----
From: Sateesh Chodapuneedi [mailto:sateesh.chodapuneedi@citrix.com]
Sent: Friday, December 21, 2012 12:20 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: 21 December 2012 12:11
> To: cloudstack-dev@incubator.apache.org
> Subject: FW: SOLUTION FOUND: Unable to build Cloudstack 4.0 with
> VMWare Enabled
>
>
>
> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: Friday, December 21, 2012 9:31 AM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with
> VMWare Enabled
>
> Anybody was able to bring up running master branch code?
>
> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: Thursday, December 20, 2012 10:10 AM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with
> VMWare Enabled
>
> Hi Jim,
> I had tried below steps again.
>
> I had followed the wiki page for building.
> ./install-nonoss-deps.sh is successful but the step to build
> vmware-base is failing.

Can you please provide output of ./install-nonoss-deps.sh

> And building src root level is also failing.
>
> Thanks
> Rajesh Battala
>
>
> -----Original Message-----
> From: Jim L. [mailto:jiml@pobox.com]
> Sent: Thursday, December 20, 2012 8:55 AM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: SOLUTION FOUND: Unable to build Cloudstack 4.0 with
> VMWare Enabled
>
> My complete set of steps:
>
> Followed the directions in
> https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html for
> obtaining and installing the 3rd party jar files:
>
> Some modules, e.g. vmware/netscaler/netapp,  require dependencies that
> are not freely available or have an incompatible license. These
> dependencies you need to donwload yourself. See to following
> instructions to add them to your maven repository.
>
> 1. You can download the following jars from (
> http://zooi.widodh.nl/cloudstack/build-dep/) and put them in the deps
> directory:
>
>    - cloud-iControl.jar
>    - cloud-netscaler.jar
>    - cloud-netscaler-sdx.jar
>    - cloud-manageontap.jar
>    - vmware-vim.jar
>    - vmware-vim25.jar
>    - vmware-apputils.jar
>
> 2. Go into the deps directory and run install-non-oss.sh
>
> $ cd deps
> $ mv cloud-manageontap.jar manageontap.jar $ ./install-non-oss.sh
>
>
> From the source directory:
>
> *cd vmware-base*
> *mvn install*
> *cd ../*
> *mvn -Dnonoss -P deps*
> *mvn clean*
> *mvn -Dnonoss install*
> *
> *
> *If you want to build just the vmware plugin, this also works:*
> *
> *
> *mvn -P vmware install*
> *
> *
> The key is getting the cloud-vmware-base local repository dependency
> created.
>
> If you are going to build using -Dnonoss, you will most likely have to
> correct the netapp plugin problem as well; the file is not named
> correctly in the local maven repository.  This is probably the result
> of a bug in the deps/install-non-oss.sh script.
>
> --Jim L.
>
>
>
>
>
> On Wed, Dec 19, 2012 at 10:07 PM, Rajesh Battala
> <ra...@citrix.com>wrote:
>
> > 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/DependencyResolutio
> > nE
> > xception
> > [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/DependencyResolutio
> > nE xception rajesh@rajesh-HVM-domU:~/acs/vmware-base$ ~
> >
> > -----Original Message-----
> > From: Jim L. [mailto:jiml@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. <ji...@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+
> > > VM
> > > Wa
> > > re;
> > >
> > >
> > > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/
> > > 20
> > > 12
> > >
> 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-SNAPS
> > > HO T 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.
> > >
> > >
> >


Install-non-oss.sh script executing is showing build success.
Here is the o/p
rajesh@rajesh-HVM-domU:~/acs/deps$ ./install-non-oss.sh
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/cloud-iControl.jar to /home/rajesh/.m2/repository/com/cloud/com/f5/icontrol/1.0/icontrol-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.956s
[INFO] Finished at: Fri Dec 21 13:07:40 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/cloud-netscaler.jar to /home/rajesh/.m2/repository/com/cloud/com/citrix/netscaler/1.0/netscaler-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.918s
[INFO] Finished at: Fri Dec 21 13:07:43 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/cloud-netscaler-sdx.jar to /home/rajesh/.m2/repository/com/cloud/com/citrix/netscaler-sdx/1.0/netscaler-sdx-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.816s
[INFO] Finished at: Fri Dec 21 13:07:46 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/manageontap.jar to /home/rajesh/.m2/repository/com/cloud/com/netapp/manageontap/4.0/manageontap-4.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.835s
[INFO] Finished at: Fri Dec 21 13:07:49 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/vim25.jar to /home/rajesh/.m2/repository/com/cloud/com/vmware/vmware-vim25/4.1/vmware-vim25-4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.828s
[INFO] Finished at: Fri Dec 21 13:07:53 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/apputils.jar to /home/rajesh/.m2/repository/com/cloud/com/vmware/vmware-apputils/4.1/vmware-apputils-4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.878s
[INFO] Finished at: Fri Dec 21 13:07:56 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/rajesh/acs/deps/vim.jar to /home/rajesh/.m2/repository/com/cloud/com/vmware/vmware-vim/4.1/vmware-vim-4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.945s
[INFO] Finished at: Fri Dec 21 13:07:59 IST 2012
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------



After that, I went to src root and then executed mvn clean and mvn install -Dnonoss (just followed the wiki)
Still failing with VMWare.


[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack VMware Base 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/com/cloud/com/vmware/vmware-vim/4.1/vmware-vim-4.1.jar
Downloading: http://repo.maven.apache.org/maven2/com/cloud/com/vmware/vmware-apputils/4.1/vmware-apputils-4.1.jar
Downloading: http://repo.maven.apache.org/maven2/com/cloud/com/vmware/vmware-vim25/4.1/vmware-vim25-4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack ................................. SUCCESS [3.083s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [12.952s]
[INFO] Apache CloudStack API ............................. SUCCESS [10.815s]
[INFO] Apache CloudStack Core ............................ SUCCESS [5.998s]
[INFO] Apache CloudStack Agents .......................... SUCCESS [5.151s]
[INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [1.089s]
[INFO] Apache CloudStack VMware Base ..................... FAILURE [1.486s]
[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: 41.489s
[INFO] Finished at: Fri Dec 21 13:14:00 IST 2012
[INFO] Final Memory: 16M/38M
[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: Could not find artifact com.cloud.com.vmware:vmware-vim25:jar:4.1 in central (http://repo.maven.apache.org/maven2) -> [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




RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by Sateesh Chodapuneedi <sa...@citrix.com>.
> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: 21 December 2012 12:11
> To: cloudstack-dev@incubator.apache.org
> Subject: FW: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare
> Enabled
> 
> 
> 
> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: Friday, December 21, 2012 9:31 AM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare
> Enabled
> 
> Anybody was able to bring up running master branch code?
> 
> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: Thursday, December 20, 2012 10:10 AM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare
> Enabled
> 
> Hi Jim,
> I had tried below steps again.
> 
> I had followed the wiki page for building.
> ./install-nonoss-deps.sh is successful but the step to build vmware-base
> is failing.

Can you please provide output of ./install-nonoss-deps.sh

> And building src root level is also failing.
> 
> Thanks
> Rajesh Battala
> 
> 
> -----Original Message-----
> From: Jim L. [mailto:jiml@pobox.com]
> Sent: Thursday, December 20, 2012 8:55 AM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare
> Enabled
> 
> My complete set of steps:
> 
> Followed the directions in
> https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html for
> obtaining and installing the 3rd party jar files:
> 
> Some modules, e.g. vmware/netscaler/netapp,  require dependencies that
> are not freely available or have an incompatible license. These
> dependencies you need to donwload yourself. See to following
> instructions to add them to your maven repository.
> 
> 1. You can download the following jars from (
> http://zooi.widodh.nl/cloudstack/build-dep/) and put them in the deps
> directory:
> 
>    - cloud-iControl.jar
>    - cloud-netscaler.jar
>    - cloud-netscaler-sdx.jar
>    - cloud-manageontap.jar
>    - vmware-vim.jar
>    - vmware-vim25.jar
>    - vmware-apputils.jar
> 
> 2. Go into the deps directory and run install-non-oss.sh
> 
> $ cd deps
> $ mv cloud-manageontap.jar manageontap.jar $ ./install-non-oss.sh
> 
> 
> From the source directory:
> 
> *cd vmware-base*
> *mvn install*
> *cd ../*
> *mvn -Dnonoss -P deps*
> *mvn clean*
> *mvn -Dnonoss install*
> *
> *
> *If you want to build just the vmware plugin, this also works:*
> *
> *
> *mvn -P vmware install*
> *
> *
> The key is getting the cloud-vmware-base local repository dependency
> created.
> 
> If you are going to build using -Dnonoss, you will most likely have to
> correct the netapp plugin problem as well; the file is not named
> correctly in the local maven repository.  This is probably the result of
> a bug in the deps/install-non-oss.sh script.
> 
> --Jim L.
> 
> 
> 
> 
> 
> On Wed, Dec 19, 2012 at 10:07 PM, Rajesh Battala
> <ra...@citrix.com>wrote:
> 
> > 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/DependencyResolutionE
> > xception
> > [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/DependencyResolutionE
> > xception rajesh@rajesh-HVM-domU:~/acs/vmware-base$ ~
> >
> > -----Original Message-----
> > From: Jim L. [mailto:jiml@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. <ji...@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+VM
> > > Wa
> > > re;
> > >
> > >
> > > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/20
> > > 12
> > >
> 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-SNAPSHO
> > > T 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.
> > >
> > >
> >

FW: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by Rajesh Battala <ra...@citrix.com>.

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@citrix.com] 
Sent: Friday, December 21, 2012 9:31 AM
To: cloudstack-users@incubator.apache.org
Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Anybody was able to bring up running master branch code?

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
Sent: Thursday, December 20, 2012 10:10 AM
To: cloudstack-users@incubator.apache.org
Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Hi Jim,
I had tried below steps again. 

I had followed the wiki page for building. 
./install-nonoss-deps.sh is successful but the step to build vmware-base is failing. 
And building src root level is also failing. 

Thanks
Rajesh Battala


-----Original Message-----
From: Jim L. [mailto:jiml@pobox.com]
Sent: Thursday, December 20, 2012 8:55 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

My complete set of steps:

Followed the directions in
https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html for obtaining and installing the 3rd party jar files:

Some modules, e.g. vmware/netscaler/netapp,  require dependencies that are not freely available or have an incompatible license. These dependencies you need to donwload yourself. See to following instructions to add them to your maven repository.

1. You can download the following jars from (
http://zooi.widodh.nl/cloudstack/build-dep/) and put them in the deps
directory:

   - cloud-iControl.jar
   - cloud-netscaler.jar
   - cloud-netscaler-sdx.jar
   - cloud-manageontap.jar
   - vmware-vim.jar
   - vmware-vim25.jar
   - vmware-apputils.jar

2. Go into the deps directory and run install-non-oss.sh

$ cd deps
$ mv cloud-manageontap.jar manageontap.jar $ ./install-non-oss.sh


>From the source directory:

*cd vmware-base*
*mvn install*
*cd ../*
*mvn -Dnonoss -P deps*
*mvn clean*
*mvn -Dnonoss install*
*
*
*If you want to build just the vmware plugin, this also works:*
*
*
*mvn -P vmware install*
*
*
The key is getting the cloud-vmware-base local repository dependency created.

If you are going to build using -Dnonoss, you will most likely have to correct the netapp plugin problem as well; the file is not named correctly in the local maven repository.  This is probably the result of a bug in the deps/install-non-oss.sh script.

--Jim L.





On Wed, Dec 19, 2012 at 10:07 PM, Rajesh Battala
<ra...@citrix.com>wrote:

> 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/DependencyResolutionE
> xception
> [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/DependencyResolutionE
> xception rajesh@rajesh-HVM-domU:~/acs/vmware-base$ ~
>
> -----Original Message-----
> From: Jim L. [mailto:jiml@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. <ji...@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+VM
> > Wa
> > re;
> >
> >
> > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/20
> > 12
> > 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-SNAPSHO
> > T 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.
> >
> >
>

RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by Rajesh Battala <ra...@citrix.com>.
Anybody was able to bring up running master branch code?

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@citrix.com] 
Sent: Thursday, December 20, 2012 10:10 AM
To: cloudstack-users@incubator.apache.org
Subject: RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Hi Jim,
I had tried below steps again. 

I had followed the wiki page for building. 
./install-nonoss-deps.sh is successful but the step to build vmware-base is failing. 
And building src root level is also failing. 

Thanks
Rajesh Battala


-----Original Message-----
From: Jim L. [mailto:jiml@pobox.com]
Sent: Thursday, December 20, 2012 8:55 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

My complete set of steps:

Followed the directions in
https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html for obtaining and installing the 3rd party jar files:

Some modules, e.g. vmware/netscaler/netapp,  require dependencies that are not freely available or have an incompatible license. These dependencies you need to donwload yourself. See to following instructions to add them to your maven repository.

1. You can download the following jars from (
http://zooi.widodh.nl/cloudstack/build-dep/) and put them in the deps
directory:

   - cloud-iControl.jar
   - cloud-netscaler.jar
   - cloud-netscaler-sdx.jar
   - cloud-manageontap.jar
   - vmware-vim.jar
   - vmware-vim25.jar
   - vmware-apputils.jar

2. Go into the deps directory and run install-non-oss.sh

$ cd deps
$ mv cloud-manageontap.jar manageontap.jar $ ./install-non-oss.sh


>From the source directory:

*cd vmware-base*
*mvn install*
*cd ../*
*mvn -Dnonoss -P deps*
*mvn clean*
*mvn -Dnonoss install*
*
*
*If you want to build just the vmware plugin, this also works:*
*
*
*mvn -P vmware install*
*
*
The key is getting the cloud-vmware-base local repository dependency created.

If you are going to build using -Dnonoss, you will most likely have to correct the netapp plugin problem as well; the file is not named correctly in the local maven repository.  This is probably the result of a bug in the deps/install-non-oss.sh script.

--Jim L.





On Wed, Dec 19, 2012 at 10:07 PM, Rajesh Battala
<ra...@citrix.com>wrote:

> 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/DependencyResolutionE
> xception
> [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/DependencyResolutionE
> xception rajesh@rajesh-HVM-domU:~/acs/vmware-base$ ~
>
> -----Original Message-----
> From: Jim L. [mailto:jiml@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. <ji...@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+VM
> > Wa
> > re;
> >
> >
> > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/20
> > 12
> > 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-SNAPSHO
> > T 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.
> >
> >
>

RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by Rajesh Battala <ra...@citrix.com>.
Hi Jim,
I had tried below steps again. 

I had followed the wiki page for building. 
./install-nonoss-deps.sh is successful but the step to build vmware-base is failing. 
And building src root level is also failing. 

Thanks
Rajesh Battala


-----Original Message-----
From: Jim L. [mailto:jiml@pobox.com] 
Sent: Thursday, December 20, 2012 8:55 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

My complete set of steps:

Followed the directions in
https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html for obtaining and installing the 3rd party jar files:

Some modules, e.g. vmware/netscaler/netapp,  require dependencies that are not freely available or have an incompatible license. These dependencies you need to donwload yourself. See to following instructions to add them to your maven repository.

1. You can download the following jars from (
http://zooi.widodh.nl/cloudstack/build-dep/) and put them in the deps
directory:

   - cloud-iControl.jar
   - cloud-netscaler.jar
   - cloud-netscaler-sdx.jar
   - cloud-manageontap.jar
   - vmware-vim.jar
   - vmware-vim25.jar
   - vmware-apputils.jar

2. Go into the deps directory and run install-non-oss.sh

$ cd deps
$ mv cloud-manageontap.jar manageontap.jar $ ./install-non-oss.sh


>From the source directory:

*cd vmware-base*
*mvn install*
*cd ../*
*mvn -Dnonoss -P deps*
*mvn clean*
*mvn -Dnonoss install*
*
*
*If you want to build just the vmware plugin, this also works:*
*
*
*mvn -P vmware install*
*
*
The key is getting the cloud-vmware-base local repository dependency created.

If you are going to build using -Dnonoss, you will most likely have to correct the netapp plugin problem as well; the file is not named correctly in the local maven repository.  This is probably the result of a bug in the deps/install-non-oss.sh script.

--Jim L.





On Wed, Dec 19, 2012 at 10:07 PM, Rajesh Battala
<ra...@citrix.com>wrote:

> 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/DependencyResolutionE
> xception
> [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/DependencyResolutionE
> xception rajesh@rajesh-HVM-domU:~/acs/vmware-base$ ~
>
> -----Original Message-----
> From: Jim L. [mailto:jiml@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. <ji...@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+VM
> > Wa
> > re;
> >
> >
> > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/20
> > 12 
> > 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-SNAPSHO
> > T 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.
> >
> >
>

Re: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by "Jim L." <ji...@pobox.com>.
My complete set of steps:

Followed the directions in
https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html for obtaining
and installing the 3rd party jar files:

Some modules, e.g. vmware/netscaler/netapp,  require dependencies that are
not freely available or have an incompatible license. These dependencies
you need to donwload yourself. See to following instructions to add them to
your maven repository.

1. You can download the following jars from (
http://zooi.widodh.nl/cloudstack/build-dep/) and put them in the deps
directory:

   - cloud-iControl.jar
   - cloud-netscaler.jar
   - cloud-netscaler-sdx.jar
   - cloud-manageontap.jar
   - vmware-vim.jar
   - vmware-vim25.jar
   - vmware-apputils.jar

2. Go into the deps directory and run install-non-oss.sh

$ cd deps
$ mv cloud-manageontap.jar manageontap.jar
$ ./install-non-oss.sh


>From the source directory:

*cd vmware-base*
*mvn install*
*cd ../*
*mvn -Dnonoss -P deps*
*mvn clean*
*mvn -Dnonoss install*
*
*
*If you want to build just the vmware plugin, this also works:*
*
*
*mvn -P vmware install*
*
*
The key is getting the cloud-vmware-base local repository dependency
created.

If you are going to build using -Dnonoss, you will most likely have to
correct the netapp plugin problem as well; the file is not named correctly
in the local maven repository.  This is probably the result of a bug in the
deps/install-non-oss.sh script.

--Jim L.





On Wed, Dec 19, 2012 at 10:07 PM, Rajesh Battala
<ra...@citrix.com>wrote:

> 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:jiml@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. <ji...@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.
> >
> >
>

RE: SOLUTION FOUND: Unable to build Cloudstack 4.0 with VMWare Enabled

Posted by Rajesh Battala <ra...@citrix.com>.
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:jiml@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. <ji...@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.
>
>