From 79004fc7bc5f24f8bf9c75f7a0b0fef01042db13 Mon Sep 17 00:00:00 2001 From: Hugo Trippaers Date: Tue, 4 Sep 2012 11:05:55 +0200 Subject: [PATCH] Fix RPM build using waf (oss only) and maven. With the exception of awsapi most of the rpms are build. Not the neatest way to do it, but a good base for improvement. --- awsapi/pom.xml | 55 ++++++++++++++ cloud.spec | 196 ++++++++++++++++++++++++++++++++++--------------- wscript_build | 16 +++- 3 files changed, 206 insertions(+), 61 deletions(-) diff --git a/awsapi/pom.xml b/awsapi/pom.xml index cf9103359a7..2909376c249 100644 --- a/awsapi/pom.xml +++ b/awsapi/pom.xml @@ -22,6 +22,7 @@ cloud-awsapi 4.0.0-SNAPSHOT Apache CloudStack AWS API Bridge + war org.apache.cloudstack cloudstack @@ -106,6 +107,60 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-my-lib + process-resources + + unpack + + + + + org.apache.axis2 + axis2-webapp + ${cs.axis2.version} + war + false + + + ${project.build.directory}/${project.artifactId}-${project.version} + false + + + + + + org.apache.maven.plugins + maven-war-plugin + 2.2 + + web/web.xml + **/client/*.class + + + conf + + + resource/Axis2 + WEB-INF/conf + + + resource/AmazonEC2 + WEB-INF/classes + + crypto.properties + xes.keystore + + + + + +