cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [23/29] git commit: refs/heads/ui-plugins - usage: Add maven target to run usage server
Date Mon, 11 Feb 2013 19:48:59 GMT
usage: Add maven target to run usage server

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


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

Branch: refs/heads/ui-plugins
Commit: 1187fb7ed2a9a1669a8b3b4e9742ccfd2ceb2213
Parents: 770860a
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Mon Feb 11 18:13:04 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Mon Feb 11 18:13:04 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1187fb7e/usage/pom.xml
----------------------------------------------------------------------
diff --git a/usage/pom.xml b/usage/pom.xml
index bbd0d45..4e418ec 100644
--- a/usage/pom.xml
+++ b/usage/pom.xml
@@ -115,4 +115,65 @@
       </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>usage</id>
+      <activation>
+        <property>
+          <name>run</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>exec-maven-plugin</artifactId>
+            <version>1.2.1</version>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.cloudstack</groupId>
+                <artifactId>cloud-utils</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+              <dependency>
+                <groupId>org.apache.cloudstack</groupId>
+                <artifactId>cloud-server</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+              <dependency>
+                <groupId>org.apache.cloudstack</groupId>
+                <artifactId>cloud-usage</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+            </dependencies>
+            <executions>
+              <execution>
+                <phase>process-test-resources</phase>
+                <id>run-usage</id>
+                <goals>
+                  <goal>java</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <includeProjectDependencies>true</includeProjectDependencies>
+              <includePluginDependencies>true</includePluginDependencies>
+              <executableDependency>
+                <groupId>org.apache.cloudstack</groupId>
+                <artifactId>cloud-usage</artifactId>
+              </executableDependency>
+              <mainClass>com.cloud.usage.UsageServer</mainClass>
+              <arguments/>
+              <systemProperties>
+                <systemProperty>
+                  <key>pid</key>
+                  <value>$$</value>
+                </systemProperty>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>


Mime
View raw message