From 241daa53c60d2df57e51807e155afcc581732363 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Sat, 27 Oct 2012 11:56:25 +0530 Subject: [PATCH] Summary: Mavenize marvin on master Detail: Maven will now compile, install and deploy marvin using the developer profile $ mvn -P developer compile - compiles the cloudstackAPI package - packages the marvin source distributable deploy - installs using pip (reqd python 2.7) the Marvin package in to site-packages/ BUG-ID : CLOUDSTACK-378 Reported-by: Prasanna Santhanam Signed-off-by: Prasanna Santhanam 1351319186 +0530 --- tools/marvin/pom.xml | 141 ++++++++++++++++++++++++++----------------- 1 file changed, 86 insertions(+), 55 deletions(-) diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml index 5b5bf576a4d..51c70cd92b8 100644 --- a/tools/marvin/pom.xml +++ b/tools/marvin/pom.xml @@ -9,61 +9,92 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - 4.0.0 - cloud-marvin - Apache CloudStack Developer Tools: marvin - pom - - org.apache.cloudstack - cloudstack - 4.1.0-SNAPSHOT - ../../pom.xml - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + cloud-marvin + Apache CloudStack Developer Tools: marvin + pom + + org.apache.cloudstack + cloudstack + 4.1.0-SNAPSHOT + ../../pom.xml + - - install - - - maven-antrun-plugin - 1.7 - - - generate-resource - generate-resources - - run - - - - - - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.2.1 - - - install - - exec - - - - - marvin - python - - codegenerator.py - -s - ${basedir}/../apidoc/target/commands.xml - - - + + install + + + maven-antrun-plugin + 1.7 + + + generate-resource + generate-resources + + run + + + + + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + compile + compile + + exec + + + marvin + python + + codegenerator.py + -s + ${basedir}/../apidoc/target/commands.xml + + + + + package + package + + exec + + + ${exec.workingdir} + python + + setup.py + sdist + + + + + deploy + deploy + + exec + + + dist + pip + + install + Marvin-0.1.0.tar.gz + + + + + - +