make the create database work

This commit is contained in:
Alex Huang 2013-02-23 19:06:49 -08:00
parent ebcf6b1b7c
commit 1c77ae6237

View File

@ -36,6 +36,7 @@
</dependencies> </dependencies>
<build> <build>
<defaultGoal>install</defaultGoal> <defaultGoal>install</defaultGoal>
<testOutputDirectory>target/db</testOutputDirectory>
</build> </build>
<profiles> <profiles>
@ -132,6 +133,11 @@
<artifactId>cloud-server</artifactId> <artifactId>cloud-server</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-server</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies> </dependencies>
<executions> <executions>
<execution> <execution>
@ -143,13 +149,15 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<includeProjectDependencies>false</includeProjectDependencies> <includeProjectDependencies>true</includeProjectDependencies>
<includePluginDependencies>true</includePluginDependencies> <includePluginDependencies>true</includePluginDependencies>
<executableDependency> <executableDependency>
<groupId>org.apache.cloudstack</groupId> <groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-server</artifactId> <artifactId>cloud-server</artifactId>
</executableDependency> </executableDependency>
<mainClass>com.cloud.upgrade.DatabaseCreator</mainClass> <mainClass>com.cloud.upgrade.DatabaseCreator</mainClass>
<classpathScope>test</classpathScope>
<arguments> <arguments>
<!-- db properties file --> <!-- db properties file -->
<argument>${project.parent.basedir}/utils/conf/db.properties</argument> <argument>${project.parent.basedir}/utils/conf/db.properties</argument>