adding datasources to maven-jetty-plugin as dependency
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Fri, 19 Feb 2016 15:09:29 +0000 (16:09 +0100)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Fri, 19 Feb 2016 15:09:29 +0000 (16:09 +0100)
eu.etaxonomy.taxeditor.test/pom.xml

index 4dd61659967db88d764d867e9dfbfa399040e6bd..ad86d6ceb99c3427702cce191fee18d614444ae1 100644 (file)
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-maven-plugin</artifactId>
         <version>9.2.9.v20150224</version>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-maven-plugin</artifactId>
         <version>9.2.9.v20150224</version>
+        <dependencies>
+            <dependency>
+            <groupId>com.mchange</groupId>
+            <artifactId>c3p0</artifactId>
+            <!-- 
+              IMPORTANT!!!
+              this must exactly match the version as set in 
+              cdmlib-parent pom.xml otherwise the connection 
+              through jndi will not work
+            -->
+            <version>0.9.5.2</version>
+          </dependency>
+          <!-- DATABASE DRIVER -->
+          <dependency>
+            <groupId>com.h2database</groupId>
+            <artifactId>h2</artifactId>
+            <version>1.4.190</version>
+          </dependency>
+          <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+            <version>5.1.38</version>
+          </dependency>
+        </dependencies>
         <configuration>
           <jvmArgs>-Xmx512m -XX:MaxPermSize=512m</jvmArgs>
           <systemProperties>
         <configuration>
           <jvmArgs>-Xmx512m -XX:MaxPermSize=512m</jvmArgs>
           <systemProperties>
@@ -62,7 +86,7 @@
               <!-- 
                 The lucene index should be placed into the target folder,
                 so user.home needs to be set to this folder.
               <!-- 
                 The lucene index should be placed into the target folder,
                 so user.home needs to be set to this folder.
-                user.home needs to be overriden since it already 
+                user.home needs to be overridden since it already 
                 exists, thus the force option is turned on above 
               -->
               <name>user.home</name>
                 exists, thus the force option is turned on above 
               -->
               <name>user.home</name>