#5705 fixing library dependencies for local managed cdm-server
[taxeditor.git] / eu.etaxonomy.taxeditor.webapp / pom.xml
index 677c3164c5769485a9ace7b00194e01019e3bb24..7135effae979ac62b43e9312389228e486dc9e99 100644 (file)
               <excludeTransitive>true</excludeTransitive>
             </configuration>
           </execution>
+          <execution>
+            <id>copy-dependency-jars</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeArtifactIds><!--  Comma separated list of Artifact names to include -->
+                c3p0,mchange-commons-java,h2
+              </includeArtifactIds>
+              <outputDirectory>
+                ${basedir}/lib
+              </outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <excludeTransitive>true</excludeTransitive>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>
       <version>${cdmlib.version}</version>
       <type>war</type>
     </dependency>
+    <dependency>
+      <groupId>com.h2database</groupId>
+      <artifactId>h2</artifactId>
+      <version>1.4.190</version>
+    </dependency>
+     <dependency>
+      <groupId>com.mchange</groupId>
+      <artifactId>c3p0</artifactId>
+      <!-- 
+        IMPORTANT!!!
+        this must exactly match the version as set in 
+        cdmlib-parent pom.xml
+      -->
+      <version>0.9.5.2</version>
+     </dependency>
+     <dependency>
+        <groupId>com.mchange</groupId>
+        <artifactId>mchange-commons-java</artifactId>
+        <version>0.2.11</version>
+     </dependency>
   </dependencies>
 </project>