Updated version in pom / project files to taxeditor version : 5.18.0 and cdmlib versi...
[taxeditor.git] / eu.etaxonomy.taxeditor.test / pom.xml
index 81eaca4ecbeb0f55ad9ee5df06ecbe2a0406eef3..db0dbf52e8e2dc1a09cb8a9111f323b5bbc0dd8d 100644 (file)
@@ -3,14 +3,19 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>5.5.0-SNAPSHOT</version>
+    <version>5.18.0</version>
   </parent>
   <artifactId>eu.etaxonomy.taxeditor.test</artifactId>
+  <!-- for packaging=eclipse-test-plugin 
+       see https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-test-plugin -->
   <packaging>eclipse-test-plugin</packaging>
   <name>UI Test Bundle</name>
+  <properties>
+               <unitils.version>3.4.2</unitils.version>
+  </properties>
   <description>Holds all Tests for the Taxonomic Editor</description>
   <build>
-  <resources>
+   <resources>
       <resource>
         <!-- replace the place holders like ${...} in datasources.xml -->
         <filtering>true</filtering>
         <groupId>org.eclipse.tycho</groupId>
         <artifactId>tycho-surefire-plugin</artifactId>
         <version>${tycho.version}</version>
-        
       </plugin>
       <plugin>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-maven-plugin</artifactId>
-        <version>9.4.1.v20170120</version>
+        <version>${jetty-version}</version>
         <configuration>
           <systemProperties>
             <force>true</force>
         as long as this is unfixed we replace it by 
         ${basedir}/../
       -->
-          <war>${basedir}/../eu.etaxonomy.taxeditor.cdmlib/src/main/resources/etc/jetty/cdmlib-remote-webapp.war</war>
+          <war>${basedir}/../eu.etaxonomy.taxeditor.webapp/lib/cdmlib-remote-webapp.war</war>
           <daemon>true</daemon>
+          <supportedPackagings>
+                <!-- see https://github.com/eclipse/jetty.project/issues/2372 -->
+                <supportedPackaging>eclipse-test-plugin</supportedPackaging>
+              </supportedPackagings>
         </configuration>
         <dependencies>
             <!-- NOTE: This dependency requires that the  
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>2.4</version>
+        <executions>
+          <execution>
+            <id>copy-dependency-jars</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeArtifactIds>
+                junit,unitils-core,unitils-database,unitils-dbmaintainer,unitils-dbunit,unitils-spring,
+                dbunit,c3p0,commons-dbcp,commons-pool,hamcrest-core
+              </includeArtifactIds>
+              <outputDirectory>
+                ${basedir}/lib
+              </outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <excludeTransitive>true</excludeTransitive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
+  <dependencies>
+        <dependency>
+           <groupId>junit</groupId>
+           <artifactId>junit</artifactId>
+           <version>4.13.1</version>
+           <scope>test</scope>
+         </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-core</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-database</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-jdbc</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-dbmaintainer</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-nop</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-dbunit</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.unitils</groupId>
+        <artifactId>unitils-spring</artifactId>
+        <version>${unitils.version}</version>
+        <scope>test</scope>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.dbunit</groupId>
+        <artifactId>dbunit</artifactId>
+        <version>2.4.9</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>com.mchange</groupId>
+        <artifactId>c3p0</artifactId>
+        <version>0.9.5.2</version>
+        <scope>test</scope>
+      </dependency>
+         <dependency>
+           <groupId>commons-dbcp</groupId>
+           <artifactId>commons-dbcp</artifactId>
+           <version>1.4</version>
+         </dependency>
+         <dependency>
+           <groupId>commons-pool</groupId>
+           <artifactId>commons-pool</artifactId>
+           <version>1.6</version>
+         </dependency>
+         <dependency>
+           <groupId>org.hamcrest</groupId>
+           <artifactId>hamcrest-core</artifactId>
+           <version>1.3</version>
+           <scope>test</scope>
+         </dependency>
+         
+  </dependencies>
 </project>
\ No newline at end of file