From 8939dc640272cff831ff9b64e7bb7f6ddaa780ab Mon Sep 17 00:00:00 2001 From: Likitha Shetty Date: Mon, 4 Mar 2013 11:39:02 +0530 Subject: [PATCH] CLOUDSTACK-1444. Add 3 awsapi profiles 1. Download ec2 wsdl for 2012-08-15 2. Generate stubs (server and client) from the wsdl 3. Remove the ec2 wsdl [Support for EC2 API version 2012-08-15] Signed-off-by: Likitha Shetty --- awsapi/pom.xml | 119 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/awsapi/pom.xml b/awsapi/pom.xml index daa6d9b965a..a61de2d3cd1 100644 --- a/awsapi/pom.xml +++ b/awsapi/pom.xml @@ -442,4 +442,123 @@ + + + downloadec2wsdl + + + downloadec2wsdl + + + + + + maven-antrun-plugin + 1.7 + + + generate-resources + + run + + + + + + + + + + + + + + + + + gencodefromwsdl + + + gencodefromwsdl + + + + + + org.apache.axis2 + axis2-wsdl2code-maven-plugin + 1.5.6 + + + generate-sources + + wsdl2code + + + ${basedir}/wsdl/2012-08-15.ec2.wsdl + com.amazon.ec2 + true + true + true + http://ec2.amazonaws.com/doc/2012-08-15/=com.amazon.ec2 + ${basedir} + + + + generate-aws-ec2-source-client + generate-sources + + wsdl2code + + + ${basedir}/wsdl/2012-08-15.ec2.wsdl + com.amazon.ec2.client + http://ec2.amazonaws.com/doc/2012-08-15/=com.amazon.ec2.client + ${basedir} + + + + + + + + + removewsdl + + + removewsdl + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + clean + + exec + + + rm + + -rf + ${basedir}/wsdl/ + ${basedir}/resources/AmazonEC2.wsdl + + + + + + + + +