diff --git a/engine/orchestration/pom.xml b/engine/orchestration/pom.xml
index c98373aa353..2ad6f0013a3 100755
--- a/engine/orchestration/pom.xml
+++ b/engine/orchestration/pom.xml
@@ -53,21 +53,9 @@
cloud-server
${project.version}
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
install
- src
- test
maven-surefire-plugin
diff --git a/engine/service/pom.xml b/engine/service/pom.xml
index 47c0edcefc0..b5812963ce6 100644
--- a/engine/service/pom.xml
+++ b/engine/service/pom.xml
@@ -30,12 +30,6 @@
Apache CloudStack Cloud Engine Service
http://www.cloudstack.org
-
- junit
- junit
- 3.8.1
- test
-
org.apache.cloudstack
cloud-engine-api
diff --git a/engine/storage/cache/pom.xml b/engine/storage/cache/pom.xml
index f00f6cd1498..58dd5b1e33d 100644
--- a/engine/storage/cache/pom.xml
+++ b/engine/storage/cache/pom.xml
@@ -31,20 +31,8 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
install
- src
- test
diff --git a/engine/storage/datamotion/pom.xml b/engine/storage/datamotion/pom.xml
index 8a3698c94d3..7306c0e4c79 100644
--- a/engine/storage/datamotion/pom.xml
+++ b/engine/storage/datamotion/pom.xml
@@ -43,16 +43,6 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
install
diff --git a/engine/storage/image/pom.xml b/engine/storage/image/pom.xml
index c4d2d1b2542..c5eef5e84f4 100644
--- a/engine/storage/image/pom.xml
+++ b/engine/storage/image/pom.xml
@@ -31,21 +31,5 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
-
- javax.inject
- javax.inject
- 1
-
-
- install
- src
- test
-
diff --git a/engine/storage/integration-test/pom.xml b/engine/storage/integration-test/pom.xml
index d082710134d..40436d40c0e 100644
--- a/engine/storage/integration-test/pom.xml
+++ b/engine/storage/integration-test/pom.xml
@@ -128,16 +128,6 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
org.testng
testng
@@ -147,13 +137,6 @@
- install
- ${project.basedir}/test
-
-
- ${project.basedir}/test/resource
-
-
maven-compiler-plugin
diff --git a/engine/storage/integration-test/test/resource/StorageAllocatorTestContext.xml b/engine/storage/integration-test/test/resource/StorageAllocatorTestContext.xml
deleted file mode 100644
index 1f5aa585f67..00000000000
--- a/engine/storage/integration-test/test/resource/StorageAllocatorTestContext.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/storage/integration-test/test/resource/component.xml b/engine/storage/integration-test/test/resource/component.xml
deleted file mode 100644
index d7fe9030e80..00000000000
--- a/engine/storage/integration-test/test/resource/component.xml
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/storage/integration-test/test/resource/s3_testng.xml b/engine/storage/integration-test/test/resource/s3_testng.xml
deleted file mode 100644
index 017cc9ba2f0..00000000000
--- a/engine/storage/integration-test/test/resource/s3_testng.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/storage/integration-test/test/resource/storageContext.xml b/engine/storage/integration-test/test/resource/storageContext.xml
deleted file mode 100644
index f9c891a036f..00000000000
--- a/engine/storage/integration-test/test/resource/storageContext.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/storage/integration-test/test/resource/testng.xml b/engine/storage/integration-test/test/resource/testng.xml
deleted file mode 100644
index fb4330999f3..00000000000
--- a/engine/storage/integration-test/test/resource/testng.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/storage/pom.xml b/engine/storage/pom.xml
index cc561161602..ee52d22c5cb 100644
--- a/engine/storage/pom.xml
+++ b/engine/storage/pom.xml
@@ -61,16 +61,6 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
install
diff --git a/engine/storage/snapshot/pom.xml b/engine/storage/snapshot/pom.xml
index 350a9a9eed6..6c476a8c64f 100644
--- a/engine/storage/snapshot/pom.xml
+++ b/engine/storage/snapshot/pom.xml
@@ -36,24 +36,5 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
-
- install
- ${project.basedir}/test
-
-
- ${project.basedir}/test/resource
-
-
-
diff --git a/engine/storage/snapshot/test/resource/SnapshotManagerTestContext.xml b/engine/storage/snapshot/test/resource/SnapshotManagerTestContext.xml
deleted file mode 100644
index d99c2e2dbac..00000000000
--- a/engine/storage/snapshot/test/resource/SnapshotManagerTestContext.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/storage/volume/pom.xml b/engine/storage/volume/pom.xml
index 19357ab11e4..e8611267c17 100644
--- a/engine/storage/volume/pom.xml
+++ b/engine/storage/volume/pom.xml
@@ -31,21 +31,8 @@
${cs.mysql.version}
provided
-
- org.mockito
- mockito-all
- 1.9.5
-
-
- javax.inject
- javax.inject
- 1
-
- install
- src
- test
maven-surefire-plugin
diff --git a/framework/ipc/pom.xml b/framework/ipc/pom.xml
index 2c2131f01c1..b8c27749308 100644
--- a/framework/ipc/pom.xml
+++ b/framework/ipc/pom.xml
@@ -36,12 +36,4 @@
${project.version}
-
- install
-
-
- ${project.basedir}/test/resources
-
-
-
diff --git a/plugins/api/discovery/pom.xml b/plugins/api/discovery/pom.xml
index 5d9ad75ea3a..3b48b42e923 100644
--- a/plugins/api/discovery/pom.xml
+++ b/plugins/api/discovery/pom.xml
@@ -42,14 +42,6 @@
- install
- src
- test
-
-
- test/resources
-
-
org.apache.maven.plugins
diff --git a/plugins/api/rate-limit/pom.xml b/plugins/api/rate-limit/pom.xml
index 5645f0b3a32..49cc574a3a0 100644
--- a/plugins/api/rate-limit/pom.xml
+++ b/plugins/api/rate-limit/pom.xml
@@ -27,14 +27,6 @@
../../pom.xml
- install
- src
- test
-
-
- test/resources
-
-
org.apache.maven.plugins
diff --git a/plugins/hypervisors/ucs/pom.xml b/plugins/hypervisors/ucs/pom.xml
index 24bdc948e73..fcfa505cd85 100755
--- a/plugins/hypervisors/ucs/pom.xml
+++ b/plugins/hypervisors/ucs/pom.xml
@@ -1,25 +1,16 @@
-
-
+
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
org.apache.cloudstack
@@ -36,12 +27,6 @@
UTF-8
-
- junit
- junit
- 3.8.1
- test
-
org.apache.cloudstack
cloud-utils
diff --git a/plugins/hypervisors/xen/pom.xml b/plugins/hypervisors/xen/pom.xml
index 72d32f3029c..5ef9bd8dc25 100644
--- a/plugins/hypervisors/xen/pom.xml
+++ b/plugins/hypervisors/xen/pom.xml
@@ -40,12 +40,6 @@
org.apache.cloudstack
xapi
${cs.xapi.version}
-
-
- junit
- junit
-
-
diff --git a/plugins/network-elements/midonet/pom.xml b/plugins/network-elements/midonet/pom.xml
index bfd59a9274c..154999b1691 100644
--- a/plugins/network-elements/midonet/pom.xml
+++ b/plugins/network-elements/midonet/pom.xml
@@ -39,12 +39,6 @@
midonet-client
12.12.2
-
- org.mockito
- mockito-all
- 1.9.5
- test
-
org.apache.cloudstack
cloud-plugin-hypervisor-kvm
diff --git a/pom.xml b/pom.xml
index 74c1ceb0afe..6296f378cd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,6 +180,7 @@
mysql
mysql-connector-java
${cs.mysql.version}
+ provided
log4j
@@ -206,6 +207,11 @@
spring-beans
${org.springframework.version}
+
+ javax.inject
+ javax.inject
+ 1
+
org.mockito
mockito-all
diff --git a/server/pom.xml b/server/pom.xml
index 20bcecedfc7..f5617b9ba81 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -119,7 +119,6 @@
- install
resources
diff --git a/utils/pom.xml b/utils/pom.xml
index 686afddc4b8..cb18fc226a1 100644
--- a/utils/pom.xml
+++ b/utils/pom.xml
@@ -32,11 +32,6 @@
spring-context
${org.springframework.version}
-
- javax.inject
- javax.inject
- 1
-
log4j
log4j