mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
make the create database work
This commit is contained in:
parent
ebcf6b1b7c
commit
1c77ae6237
@ -27,15 +27,16 @@
|
|||||||
<version>5.1.21</version>
|
<version>5.1.21</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.cloudstack</groupId>
|
<groupId>org.apache.cloudstack</groupId>
|
||||||
<artifactId>cloud-plugin-hypervisor-simulator</artifactId>
|
<artifactId>cloud-plugin-hypervisor-simulator</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</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>
|
||||||
@ -170,7 +178,7 @@
|
|||||||
<argument>${basedir}/target/db/cloudbridge_offering_alter.sql</argument>
|
<argument>${basedir}/target/db/cloudbridge_offering_alter.sql</argument>
|
||||||
<!-- Seed the database -->
|
<!-- Seed the database -->
|
||||||
<argument>${basedir}/developer-prefill.sql</argument>
|
<argument>${basedir}/developer-prefill.sql</argument>
|
||||||
<!-- Do database upgrade-->
|
<!-- Do database upgrade -->
|
||||||
<argument>com.cloud.upgrade.DatabaseUpgradeChecker</argument>
|
<argument>com.cloud.upgrade.DatabaseUpgradeChecker</argument>
|
||||||
<argument>--database=cloud,usage,awsapi</argument>
|
<argument>--database=cloud,usage,awsapi</argument>
|
||||||
<argument>--rootpassword=${db.root.password}</argument>
|
<argument>--rootpassword=${db.root.password}</argument>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user