You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2012/09/05 12:07:09 UTC

[2/3] git commit: Generate the commands.xml from maven

Generate the commands.xml from maven


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/b085ea03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/b085ea03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/b085ea03

Branch: refs/heads/maven-waf
Commit: b085ea03674aec3a7414e9979ddca33335fffb4a
Parents: caebc0c
Author: Hugo Trippaers <ht...@schubergphilis.com>
Authored: Wed Sep 5 11:51:05 2012 +0200
Committer: Hugo Trippaers <ht...@schubergphilis.com>
Committed: Wed Sep 5 11:52:04 2012 +0200

----------------------------------------------------------------------
 client/pom.xml |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b085ea03/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index 502d023..018d670 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -174,6 +174,36 @@
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.2.1</version>
+        <executions>
+          <execution>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>java</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <mainClass>com.cloud.api.doc.ApiXmlDocWriter</mainClass>
+          <arguments>
+            <argument>-f</argument>
+            <argument>${basedir}/tomcatconf/commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/cisconexusvsm_commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/commands-ext.properties.in</argument>
+            <argument>${basedir}/tomcatconf/commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/f5bigip_commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/junipersrx_commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/netscalerloadbalancer_commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/nicira-nvp_commands.properties.in</argument>
+            <argument>${basedir}/tomcatconf/virtualrouter_commands.properties.in</argument>
+            <argument>-d</argument>
+            <argument>${basedir}/target/</argument>
+          </arguments>
+        </configuration>
+      </plugin>
+      <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <version>1.7</version>
         <executions>