diff --git a/deps/install-non-oss.sh b/deps/install-non-oss.sh
index 4b6869e0f21..28eb03e1562 100755
--- a/deps/install-non-oss.sh
+++ b/deps/install-non-oss.sh
@@ -28,3 +28,4 @@ mvn install:install-file -Dfile=manageontap.jar -DgroupId=com.cloud.com.netapp
# Version: 4.1, Release-date: 2010-07-13, Build: 257238
mvn install:install-file -Dfile=vim25.jar -DgroupId=com.cloud.com.vmware -DartifactId=vmware-vim25 -Dversion=4.1 -Dpackaging=jar
mvn install:install-file -Dfile=apputils.jar -DgroupId=com.cloud.com.vmware -DartifactId=vmware-apputils -Dversion=4.1 -Dpackaging=jar
+mvn install:install-file -Dfile=vim.jar -DgroupId=com.cloud.com.vmware -DartifactId=vmware-vim -Dversion=4.1 -Dpackaging=jar
diff --git a/plugins/hypervisors/vmware/pom.xml b/plugins/hypervisors/vmware/pom.xml
index 00cccf49f3f..20ab9ab6d7b 100644
--- a/plugins/hypervisors/vmware/pom.xml
+++ b/plugins/hypervisors/vmware/pom.xml
@@ -35,19 +35,38 @@
com.cloud.com.vmware
vmware-vim25
- 4.1
- compile
+ ${cs.vmware.api.version}
+ provided
+
+
+ com.cloud.com.vmware
+ vmware-vim
+ ${cs.vmware.api.version}
+ provided
com.cloud.com.vmware
vmware-apputils
- 4.1
- compile
+ ${cs.vmware.api.version}
+ provided
+
+
+ org.apache.axis
+ axis
+ ${cs.axis.version}
+ runtime
org.apache.axis
axis-jaxrpc
${cs.axis.version}
+ runtime
+
+
+ wsdl4j
+ wsdl4j
+ 1.4
+ runtime
diff --git a/pom.xml b/pom.xml
index f1a21bbe6ec..12b40674905 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,6 +80,7 @@
2.4
1.2
1.0-20081010.060147
+ 4.1
true
diff --git a/vmware-base/pom.xml b/vmware-base/pom.xml
index 6c304af04e4..9721bbeaef9 100644
--- a/vmware-base/pom.xml
+++ b/vmware-base/pom.xml
@@ -40,24 +40,38 @@
com.cloud.com.vmware
vmware-vim25
- 4.1
+ ${cs.vmware.api.version}
+ provided
+
+
+ com.cloud.com.vmware
+ vmware-vim
+ ${cs.vmware.api.version}
provided
com.cloud.com.vmware
vmware-apputils
- 4.1
+ ${cs.vmware.api.version}
provided
org.apache.axis
axis
${cs.axis.version}
+ runtime
org.apache.axis
axis-jaxrpc
${cs.axis.version}
+ runtime
+
+
+ wsdl4j
+ wsdl4j
+ 1.4
+ runtime