From e4ba348ef06ee80486c9a9fb1ed640c98e895329 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 0eaebb6f2dc..ff72a444199 100644 --- a/awsapi/pom.xml +++ b/awsapi/pom.xml @@ -415,4 +415,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 + + + + + + + + +