Skip to content

Commit bf21081

Browse files
author
Edison Su
committed
1 parent 16ed870 commit bf21081

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

developer/pom.xml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<version>5.1.21</version>
2727
<scope>runtime</scope>
2828
</dependency>
29+
2930
</dependencies>
3031
<build>
3132
<defaultGoal>install</defaultGoal>
@@ -69,36 +70,37 @@
6970
</dependency>
7071
<dependency>
7172
<groupId>org.apache.cloudstack</groupId>
72-
<artifactId>cloud-server</artifactId>
73-
<version>${project.version}</version>
73+
<artifactId>cloud-utils</artifactId>
74+
<version>${project.version}</version>
7475
</dependency>
7576
<dependency>
7677
<groupId>org.apache.cloudstack</groupId>
77-
<artifactId>cloud-utils</artifactId>
78-
<version>${project.version}</version>
78+
<artifactId>cloud-server</artifactId>
79+
<version>${project.version}</version>
7980
</dependency>
8081
</dependencies>
8182
<executions>
8283
<execution>
83-
<phase>package</phase>
84+
<phase>package</phase>
8485
<id>create-database-2</id>
8586
<goals>
86-
<goal>exec</goal>
87+
<goal>java</goal>
8788
</goals>
8889
</execution>
8990
</executions>
9091
<configuration>
91-
<executable>java</executable>
92-
<arguments>
93-
<argument>-classpath</argument>
94-
<classpath><dependency>org.apache.cloudstack:cloud-server</dependency></classpath>
95-
<argument>com.cloud.upgrade.DatabaseCreator</argument>
96-
</arguments>
97-
</configuration>
92+
<includeProjectDependencies>false</includeProjectDependencies>
93+
<includePluginDependencies>true</includePluginDependencies>
94+
<executableDependency>
95+
<groupId>org.apache.cloudstack</groupId>
96+
<artifactId>cloud-server</artifactId>
97+
</executableDependency>
98+
<mainClass>com.cloud.upgrade.DatabaseCreator</mainClass>
99+
</configuration>
98100
</plugin>
99101
</plugins>
100102
</build>
101-
</profile>
103+
</profile>
102104
<profile>
103105
<id>deploydb</id>
104106
<activation>

0 commit comments

Comments
 (0)