#5751 Try to fix dependency copy in taxeditor.wepapp (VI)
[taxeditor.git] / eu.etaxonomy.taxeditor.webapp / pom.xml
index dc67cc892f8e6f6e0f354da6714a329111415d13..2f7f62c5bceb92c2c3cde0660c7bda0d5a660684 100644 (file)
@@ -53,7 +53,7 @@
             </goals>
             <configuration>
               <includeArtifactIds>
-                c3p0,mchange-commons-java,h2,mysql-connector-java,log4j,javax.servlet-api,jetty-all
+                log4j,javax.servlet-api,jetty-all
               </includeArtifactIds>
               <outputDirectory>
                 ${basedir}/lib
               <excludeTransitive>true</excludeTransitive>
             </configuration>
           </execution>
+          <execution>
+            <id>copy-dependency-jars-transitive</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeArtifactIds>
+                c3p0,mchange-commons-java,h2,postgresql,mysql-connector-java,jdbc4
+              </includeArtifactIds>
+              <outputDirectory>
+                ${basedir}/lib
+              </outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <excludeTransitive>false</excludeTransitive>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>