Fix jetty:run startup to include the mysql driver as a dependency for developers
(cherry picked from commit 24dcf2948c2d4cdd98fcda0f766d82f40eee8be1)

Signed-off-by: Animesh Chaturvedi <anim...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/870c01e2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/870c01e2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/870c01e2

Branch: refs/heads/4.3
Commit: 870c01e2f04ba86846b7182ba82433ffc1940d41
Parents: 2371127
Author: Hugo Trippaers <htrippa...@schubergphilis.com>
Authored: Tue Feb 25 12:13:29 2014 +0100
Committer: Animesh Chaturvedi <anim...@apache.org>
Committed: Tue Mar 4 23:56:13 2014 -0800

----------------------------------------------------------------------
 client/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/870c01e2/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index 1d9f03e..745c1d9 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -345,6 +345,14 @@
         <groupId>org.mortbay.jetty</groupId>
         <artifactId>maven-jetty-plugin</artifactId>
         <version>6.1.26</version>
+             <dependencies>
+              <!-- specify the dependent jdbc driver here -->
+              <dependency>
+                <groupId>mysql</groupId>
+                <artifactId>mysql-connector-java</artifactId>
+                <version>${cs.mysql.version}</version>
+              </dependency>
+            </dependencies>
         <configuration>
           <scanIntervalSeconds>0</scanIntervalSeconds>
           <stopPort>9966</stopPort>

Reply via email to