diff --git a/client/WEB-INF/web.xml b/client/WEB-INF/web.xml index e5c05d3fd20..1af38e14535 100644 --- a/client/WEB-INF/web.xml +++ b/client/WEB-INF/web.xml @@ -29,11 +29,11 @@ - org.springframework.web.context.ContextLoaderListener + org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener - + contextConfigLocation - classpath:applicationContext.xml, classpath:componentContext.xml + classpath:META-INF/cloudstack/webApplicationContext.xml diff --git a/client/pom.xml b/client/pom.xml index fd1f13a173e..3e08a9a9fb5 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -20,6 +20,16 @@ 4.3.0-SNAPSHOT + + org.apache.cloudstack + cloud-framework-spring-module + ${project.version} + + + org.apache.cloudstack + cloud-framework-spring-lifecycle + ${project.version} + org.apache.cloudstack cloud-plugin-storage-volume-solidfire @@ -467,21 +477,6 @@ - - process-simulator-context - process-resources - - run - - - - test - - - - process-noredist-spring-context process-resources @@ -502,22 +497,6 @@ - - process-quickcloud-spring-context - process-resources - - run - - - - quickcloud - - - - @@ -730,5 +709,20 @@ + + quickcloud + + + quickcloud + + + + + org.apache.cloudstack + cloud-quickcloud + ${project.version} + + + diff --git a/client/tomcatconf/applicationContext.xml.in b/client/tomcatconf/applicationContext.xml.in deleted file mode 100644 index 6dda5c707af..00000000000 --- a/client/tomcatconf/applicationContext.xml.in +++ /dev/null @@ -1,955 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.apache.cloudstack.framework - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/tomcatconf/componentContext.xml.in b/client/tomcatconf/componentContext.xml.in deleted file mode 100644 index df5b002f39b..00000000000 --- a/client/tomcatconf/componentContext.xml.in +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/tomcatconf/nonossComponentContext.xml.in b/client/tomcatconf/nonossComponentContext.xml.in deleted file mode 100644 index 0502bbc8088..00000000000 --- a/client/tomcatconf/nonossComponentContext.xml.in +++ /dev/null @@ -1,421 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/tomcatconf/simulatorComponentContext.xml.in b/client/tomcatconf/simulatorComponentContext.xml.in deleted file mode 100644 index 82ff433a8be..00000000000 --- a/client/tomcatconf/simulatorComponentContext.xml.in +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.apache.cloudstack.framework - - - - - - - - - - - - - - - - - - - - - - diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec index 17fb2b13308..b10a1e4bce0 100644 --- a/packaging/centos63/cloud.spec +++ b/packaging/centos63/cloud.spec @@ -317,7 +317,7 @@ cp awsapi/resource/Axis2/axis2.xml ${RPM_BUILD_ROOT}%{_datadir}/%{name}-bridge/w cp awsapi/target/WEB-INF/services/cloud-ec2.aar ${RPM_BUILD_ROOT}%{_datadir}/%{name}-bridge/webapps/awsapi/WEB-INF/services -for name in applicationContext.xml cloud-bridge.properties commons-logging.properties ec2-service.properties ; do +for name in cloud-bridge.properties commons-logging.properties ec2-service.properties ; do mv ${RPM_BUILD_ROOT}%{_datadir}/%{name}-bridge/webapps/awsapi/WEB-INF/classes/$name \ ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/management/$name done @@ -522,7 +522,6 @@ fi %config(noreplace) %{_sysconfdir}/%{name}/management/tomcat-users.xml %config(noreplace) %{_sysconfdir}/%{name}/management/web.xml %config(noreplace) %{_sysconfdir}/%{name}/management/environment.properties -%config(noreplace) %{_sysconfdir}/%{name}/management/applicationContext.xml %config(noreplace) %{_sysconfdir}/%{name}/management/cloud-bridge.properties %config(noreplace) %{_sysconfdir}/%{name}/management/commons-logging.properties %config(noreplace) %{_sysconfdir}/%{name}/management/ec2-service.properties diff --git a/pom.xml b/pom.xml index d8c6f405d7f..76661e5db83 100644 --- a/pom.xml +++ b/pom.xml @@ -73,7 +73,7 @@ 1.2 1.0-20081010.060147 5.1 - 3.1.2.RELEASE + 3.2.4.RELEASE 1.9.5 1.3.22 2.6 @@ -173,6 +173,7 @@ client services maven-standard + quickcloud @@ -359,7 +360,12 @@ org.aspectj aspectjtools - 1.6.2 + 1.7.0 + + + org.aspectj + aspectjweaver + 1.7.0 org.apache.axis @@ -424,6 +430,11 @@ install src test + + + ${basedir}/resources + + test/resources diff --git a/server/pom.xml b/server/pom.xml index 6446b7eca28..0da2d122a7b 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -128,9 +128,6 @@ resources - - **/*.xml - diff --git a/utils/pom.xml b/utils/pom.xml index 35012b23343..3eea8fef3ed 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -36,6 +36,10 @@ org.springframework spring-context + + org.aspectj + aspectjweaver + log4j log4j