You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2012/10/26 07:38:41 UTC
git commit: follow the
http://mojo.codehaus.org/exec-maven-plugin/examples/example-exec-using-plugin-dependencies.html
Updated Branches:
refs/heads/javelin 16ed8701d -> bf2108163
follow the http://mojo.codehaus.org/exec-maven-plugin/examples/example-exec-using-plugin-dependencies.html
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/bf210816
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/bf210816
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/bf210816
Branch: refs/heads/javelin
Commit: bf21081633cad7a3173b8bc0efbb741f0d339c1a
Parents: 16ed870
Author: Edison Su <ed...@citrix.com>
Authored: Thu Oct 25 22:38:24 2012 -0700
Committer: Edison Su <ed...@citrix.com>
Committed: Thu Oct 25 22:38:24 2012 -0700
----------------------------------------------------------------------
developer/pom.xml | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/bf210816/developer/pom.xml
----------------------------------------------------------------------
diff --git a/developer/pom.xml b/developer/pom.xml
index fa69093..2d39233 100644
--- a/developer/pom.xml
+++ b/developer/pom.xml
@@ -26,6 +26,7 @@
<version>5.1.21</version>
<scope>runtime</scope>
</dependency>
+
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
@@ -69,36 +70,37 @@
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
- <artifactId>cloud-server</artifactId>
- <version>${project.version}</version>
+ <artifactId>cloud-utils</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
- <artifactId>cloud-utils</artifactId>
- <version>${project.version}</version>
+ <artifactId>cloud-server</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
- <phase>package</phase>
+ <phase>package</phase>
<id>create-database-2</id>
<goals>
- <goal>exec</goal>
+ <goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
- <executable>java</executable>
- <arguments>
- <argument>-classpath</argument>
- <classpath><dependency>org.apache.cloudstack:cloud-server</dependency></classpath>
- <argument>com.cloud.upgrade.DatabaseCreator</argument>
- </arguments>
- </configuration>
+ <includeProjectDependencies>false</includeProjectDependencies>
+ <includePluginDependencies>true</includePluginDependencies>
+ <executableDependency>
+ <groupId>org.apache.cloudstack</groupId>
+ <artifactId>cloud-server</artifactId>
+ </executableDependency>
+ <mainClass>com.cloud.upgrade.DatabaseCreator</mainClass>
+ </configuration>
</plugin>
</plugins>
</build>
- </profile>
+ </profile>
<profile>
<id>deploydb</id>
<activation>