Fix the developer database deploy procedure so it includes the mysql database driver
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2c3cd90b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2c3cd90b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2c3cd90b Branch: refs/heads/4.3 Commit: 2c3cd90b5604cde8123968b15ef6c53bad43b5e2 Parents: 82121a2 Author: Hugo Trippaers <[email protected]> Authored: Tue Feb 25 11:58:02 2014 +0100 Committer: John Kinsella <[email protected]> Committed: Wed Feb 26 18:07:45 2014 -0800 ---------------------------------------------------------------------- developer/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2c3cd90b/developer/pom.xml ---------------------------------------------------------------------- diff --git a/developer/pom.xml b/developer/pom.xml index 7ed6335..5996de7 100644 --- a/developer/pom.xml +++ b/developer/pom.xml @@ -114,6 +114,14 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> + <dependencies> + <!-- specify the dependent jdbc driver here --> + <dependency> + <groupId>mysql</groupId> + <artifactId>mysql-connector-java</artifactId> + <version>${cs.mysql.version}</version> + </dependency> + </dependencies> <executions> <execution> <phase>process-resources</phase> @@ -125,6 +133,7 @@ </executions> <configuration> <mainClass>com.cloud.upgrade.DatabaseCreator</mainClass> + <includePluginDependencies>true</includePluginDependencies> <arguments> <!-- db properties file --> <argument>${basedir}/../utils/conf/db.properties</argument>
