cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kous...@apache.org
Subject [19/50] [abbrv] git commit: refs/heads/cisco-vnmc-api-integration - make the create database work
Date Wed, 13 Mar 2013 06:25:05 GMT
make the create database work


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

Branch: refs/heads/cisco-vnmc-api-integration
Commit: 1c77ae62374f2d1a064726bb7bcf1814a0c0b1ff
Parents: ebcf6b1
Author: Alex Huang <alex.huang@citrix.com>
Authored: Sat Feb 23 19:06:49 2013 -0800
Committer: Alex Huang <alex.huang@citrix.com>
Committed: Sat Feb 23 19:07:22 2013 -0800

----------------------------------------------------------------------
 developer/pom.xml |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1c77ae62/developer/pom.xml
----------------------------------------------------------------------
diff --git a/developer/pom.xml b/developer/pom.xml
index a20200f..daaa6e3 100644
--- a/developer/pom.xml
+++ b/developer/pom.xml
@@ -27,15 +27,16 @@
       <version>5.1.21</version>
       <scope>runtime</scope>
     </dependency>
-      <dependency>
-          <groupId>org.apache.cloudstack</groupId>
-          <artifactId>cloud-plugin-hypervisor-simulator</artifactId>
-          <version>${project.version}</version>
-          <scope>compile</scope>
-      </dependency>
+    <dependency>
+      <groupId>org.apache.cloudstack</groupId>
+      <artifactId>cloud-plugin-hypervisor-simulator</artifactId>
+      <version>${project.version}</version>
+      <scope>compile</scope>
+    </dependency>
   </dependencies>
   <build>
     <defaultGoal>install</defaultGoal>
+    <testOutputDirectory>target/db</testOutputDirectory>
   </build>
 
   <profiles>
@@ -132,6 +133,11 @@
                 <artifactId>cloud-server</artifactId>
                 <version>${project.version}</version>
               </dependency>
+              <dependency>
+                <groupId>org.apache.cloudstack</groupId>
+                <artifactId>cloud-server</artifactId>
+                <version>${project.version}</version>
+              </dependency>
             </dependencies>
             <executions>
               <execution>
@@ -143,13 +149,15 @@
               </execution>
             </executions>
             <configuration>
-              <includeProjectDependencies>false</includeProjectDependencies>
+              <includeProjectDependencies>true</includeProjectDependencies>
               <includePluginDependencies>true</includePluginDependencies>
               <executableDependency>
                 <groupId>org.apache.cloudstack</groupId>
                 <artifactId>cloud-server</artifactId>
               </executableDependency>
+
               <mainClass>com.cloud.upgrade.DatabaseCreator</mainClass>
+              <classpathScope>test</classpathScope>
               <arguments>
                 <!-- db properties file -->
                 <argument>${project.parent.basedir}/utils/conf/db.properties</argument>
@@ -170,7 +178,7 @@
                 <argument>${basedir}/target/db/cloudbridge_offering_alter.sql</argument>
                 <!-- Seed the database -->
                 <argument>${basedir}/developer-prefill.sql</argument>
-                <!-- Do database upgrade-->
+                <!-- Do database upgrade -->
                 <argument>com.cloud.upgrade.DatabaseUpgradeChecker</argument>
                 <argument>--database=cloud,usage,awsapi</argument>
                 <argument>--rootpassword=${db.root.password}</argument>


Mime
View raw message