maven: pom.xml for tools/cli copies marvin to cli/cloudmonkey/
Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/039b938e Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/039b938e Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/039b938e Branch: refs/heads/master Commit: 039b938ecc552aca8f782bb0bda2abb6f8b3b6be Parents: 2ceaa39 Author: Rohit Yadav <[email protected]> Authored: Wed Oct 31 23:10:55 2012 +0530 Committer: Rohit Yadav <[email protected]> Committed: Wed Oct 31 23:19:17 2012 +0530 ---------------------------------------------------------------------- tools/cli/pom.xml | 75 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/039b938e/tools/cli/pom.xml ---------------------------------------------------------------------- diff --git a/tools/cli/pom.xml b/tools/cli/pom.xml new file mode 100644 index 0000000..e7d435b --- /dev/null +++ b/tools/cli/pom.xml @@ -0,0 +1,75 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <artifactId>cloud-cli</artifactId> + <name>Apache CloudStack Developer Tools: cloudmonkey cli</name> + <packaging>pom</packaging> + <parent> + <groupId>org.apache.cloudstack</groupId> + <artifactId>cloudstack</artifactId> + <version>4.1.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>compile</id> + <phase>compile</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <workingDirectory>${basedir}</workingDirectory> + <executable>cp</executable> + <arguments> + <argument>-rv</argument> + <argument>${basedir}/../marvin/marvin</argument> + <argument>${basedir}/cloudmonkey</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>package</id> + <phase>compile</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <workingDirectory>${basedir}</workingDirectory> + <executable>python</executable> + <arguments> + <argument>setup.py</argument> + <argument>sdist</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project>
