diff --git a/awsapi/conf/applicationContext.xml.in b/awsapi/conf/applicationContext.xml.in
new file mode 100644
index 00000000000..0a24df214af
--- /dev/null
+++ b/awsapi/conf/applicationContext.xml.in
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/awsapi/conf/cloud-bridge.properties b/awsapi/conf/cloud-bridge.properties.in
similarity index 100%
rename from awsapi/conf/cloud-bridge.properties
rename to awsapi/conf/cloud-bridge.properties.in
diff --git a/awsapi/conf/ec2-service.properties b/awsapi/conf/ec2-service.properties.in
similarity index 100%
rename from awsapi/conf/ec2-service.properties
rename to awsapi/conf/ec2-service.properties.in
diff --git a/awsapi/pom.xml b/awsapi/pom.xml
index 3ab595211d4..52b8f8c3306 100644
--- a/awsapi/pom.xml
+++ b/awsapi/pom.xml
@@ -304,6 +304,15 @@
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ 2.3
+
+ ./web/web.xml
+ ./target/generated-webapp
+
+
org.mortbay.jetty
maven-jetty-plugin
@@ -319,7 +328,38 @@
${basedir}/web/web.xml
${basedir}/target/cloud-awsapi-${project.version}
-
+
+
+ maven-antrun-plugin
+ 1.7
+
+
+ generate-resource
+ generate-resources
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+