#5705 fixing library dependencies for local managed cdm-server
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Thu, 14 Apr 2016 09:38:31 +0000 (11:38 +0200)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Thu, 14 Apr 2016 09:39:21 +0000 (11:39 +0200)
eu.etaxonomy.taxeditor.webapp/.classpath
eu.etaxonomy.taxeditor.webapp/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.webapp/build.properties
eu.etaxonomy.taxeditor.webapp/pom.xml

index d162d85..87c7de0 100644 (file)
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
+       <classpathentry exported="true" kind="lib" path="lib/h2-1.4.190.jar"/>
+       <classpathentry exported="true" kind="lib" path="lib/mchange-commons-java-0.2.11.jar"/>
        <classpathentry exported="true" kind="lib" path="lib/c3p0-0.9.5.2.jar"/>
        <classpathentry exported="true" kind="lib" path="lib/mysql-connector-java-5.1.24.jar"/>
        <classpathentry exported="true" kind="lib" path="lib/javax.servlet-api-3.1.0.jar"/>
index 82c965c..7b6af27 100644 (file)
@@ -12,7 +12,9 @@ Bundle-ClassPath: .,
  lib/jetty-all-9.2.9.v20150224.jar,
  lib/javax.servlet-api-3.1.0.jar,
  lib/mysql-connector-java-5.1.24.jar,
- lib/c3p0-0.9.5.2.jar
+ lib/c3p0-0.9.5.2.jar,
+ lib/h2-1.4.190.jar,
+ lib/mchange-commons-java-0.2.11.jar
 Bundle-Vendor: EDIT
 Import-Package: org.eclipse.jface.resource,
  org.eclipse.ui.plugin
index ca2dc6a..be57fa3 100644 (file)
@@ -2,9 +2,6 @@ source.. = src/main/java/,\
            src/main/resources/           
 bin.includes = META-INF/,\
                .,\
-               lib/log4j-1.2.17.jar,\
-               lib/jetty-all-9.2.9.v20150224.jar,\
-               lib/javax.servlet-api-3.1.0.jar,\
-               lib/mysql-connector-java-5.1.24.jar,\
-               lib/cdmlib-remote-webapp.war,\
-               lib/c3p0-0.9.5.2.jar
+               lib/,\
+               lib/h2-1.4.190.jar,\
+               lib/mchange-commons-java-0.2.11.jar
index 677c316..7135eff 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>