Skip to content

Commit 039b938

Browse files
committed
maven: pom.xml for tools/cli
copies marvin to cli/cloudmonkey/ Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 2ceaa39 commit 039b938

1 file changed

Lines changed: 75 additions & 0 deletions

File tree

tools/cli/pom.xml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<artifactId>cloud-cli</artifactId>
23+
<name>Apache CloudStack Developer Tools: cloudmonkey cli</name>
24+
<packaging>pom</packaging>
25+
<parent>
26+
<groupId>org.apache.cloudstack</groupId>
27+
<artifactId>cloudstack</artifactId>
28+
<version>4.1.0-SNAPSHOT</version>
29+
<relativePath>../../pom.xml</relativePath>
30+
</parent>
31+
32+
<build>
33+
<defaultGoal>install</defaultGoal>
34+
<plugins>
35+
<plugin>
36+
<groupId>org.codehaus.mojo</groupId>
37+
<artifactId>exec-maven-plugin</artifactId>
38+
<version>1.2.1</version>
39+
<executions>
40+
<execution>
41+
<id>compile</id>
42+
<phase>compile</phase>
43+
<goals>
44+
<goal>exec</goal>
45+
</goals>
46+
<configuration>
47+
<workingDirectory>${basedir}</workingDirectory>
48+
<executable>cp</executable>
49+
<arguments>
50+
<argument>-rv</argument>
51+
<argument>${basedir}/../marvin/marvin</argument>
52+
<argument>${basedir}/cloudmonkey</argument>
53+
</arguments>
54+
</configuration>
55+
</execution>
56+
<execution>
57+
<id>package</id>
58+
<phase>compile</phase>
59+
<goals>
60+
<goal>exec</goal>
61+
</goals>
62+
<configuration>
63+
<workingDirectory>${basedir}</workingDirectory>
64+
<executable>python</executable>
65+
<arguments>
66+
<argument>setup.py</argument>
67+
<argument>sdist</argument>
68+
</arguments>
69+
</configuration>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
</plugins>
74+
</build>
75+
</project>

0 commit comments

Comments
 (0)