1 <project xmlns=
"http://maven.apache.org/POM/4.0.0" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2 <modelVersion>4.0.0</modelVersion>
4 <groupId>eu.etaxonomy
</groupId>
5 <artifactId>taxeditor-parent
</artifactId>
6 <version>5.29.0-SNAPSHOT
</version>
8 <artifactId>eu.etaxonomy.taxeditor.test
</artifactId>
9 <!-- for packaging=eclipse-test-plugin
10 see https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-test-plugin -->
11 <packaging>eclipse-test-plugin
</packaging>
12 <name>UI Test Bundle
</name>
14 <unitils.version
>3.4.2</unitils.version
>
16 <description>Holds all Tests for the Taxonomic Editor
</description>
20 <!-- replace the place holders like ${...} in datasources.xml -->
21 <filtering>true
</filtering>
22 <directory>src/test/resources
</directory>
23 <targetPath>../test-classes
</targetPath>
25 <include>datasources.xml
</include>
29 <!-- all other test resources without filtering -->
30 <directory>src/test/resources
</directory>
31 <targetPath>../test-classes
</targetPath>
33 <exclude>datasources.xml
</exclude>
37 <!-- all main resources without filtering -->
38 <directory>src/main/resources
</directory>
43 <groupId>org.eclipse.tycho
</groupId>
44 <artifactId>target-platform-configuration
</artifactId>
45 <version>${tycho.version}
</version>
48 <!-- Work around for https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045 -->
49 <!-- taken from https://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering -->
51 <type>p2-installable-unit
</type>
52 <id>org.eclipse.equinox.servletbridge.extensionbundle
</id>
56 <dependency-resolution>
59 <type>eclipse-feature
</type>
60 <id>eu.etaxonomy.taxeditor.feature
</id>
61 <versionRange>1.0.0</versionRange>
64 </dependency-resolution>
68 <groupId>org.eclipse.tycho
</groupId>
69 <artifactId>tycho-surefire-plugin
</artifactId>
70 <version>${tycho.version}
</version>
73 <groupId>org.eclipse.jetty
</groupId>
74 <artifactId>jetty-maven-plugin
</artifactId>
75 <version>${jetty-version}
</version>
80 <name>cdm.datasource
</name>
81 <value>cdmTest
</value>
85 The lucene index should be placed into the target folder,
86 so user.home needs to be set to this folder.
87 user.home needs to be overridden since it already
88 exists, thus the force option is turned on above
90 <name>user.home
</name>
91 <value>${basedir}/target/
</value>
94 <name>spring.profiles.active
</name>
95 <value>remoting
</value>
98 <name>cdm.beanDefinitionFile
</name>
99 <value>${basedir}/target/test-classes/datasources.xml
</value>
102 <stopPort>9191</stopPort>
103 <stopKey>jetty-cdm-server
</stopKey>
104 <stopWait>10</stopWait>
109 ${project.parent.basedir} can not be used due to the bug
110 https://issues.apache.org/jira/browse/MNG-5522
111 as long as this is unfixed we replace it by
114 <war>${basedir}/../eu.etaxonomy.taxeditor.local/lib/cdmlib-remote-webapp.war
</war>
115 <daemon>true
</daemon>
116 <supportedPackagings>
117 <!-- see https://github.com/eclipse/jetty.project/issues/2372 -->
118 <supportedPackaging>eclipse-test-plugin
</supportedPackaging>
119 </supportedPackagings>
122 <!-- NOTE: This dependency requires that the
123 EditRepository is configured as pluginRepository -->
125 <groupId>eu.etaxonomy
</groupId>
126 <artifactId>cdmlib-db
</artifactId>
127 <version>${cdmlib.version}
</version>
129 <!-- Do we still need this? If yes, should we move it to cdmlib-db? -->
131 <groupId>commons-dbcp
</groupId>
132 <artifactId>commons-dbcp
</artifactId>
133 <version>1.4</version>
139 <phase>pre-integration-test
</phase>
141 <goal>deploy-war
</goal>
144 <scanIntervalSeconds>0</scanIntervalSeconds>
149 <phase>post-integration-test
</phase>
157 <groupId>org.apache.maven.plugins
</groupId>
158 <artifactId>maven-dependency-plugin
</artifactId>
159 <version>2.4</version>
162 <id>copy-dependency-jars
</id>
163 <phase>validate
</phase>
165 <goal>copy-dependencies
</goal>
169 junit,unitils-core,unitils-database,unitils-dbmaintainer,unitils-dbunit,unitils-spring,
170 dbunit,c3p0,commons-dbcp,commons-pool,hamcrest-core
171 </includeArtifactIds>
175 <overWriteReleases>true
</overWriteReleases>
176 <overWriteSnapshots>true
</overWriteSnapshots>
177 <excludeTransitive>true
</excludeTransitive>
186 <groupId>junit
</groupId>
187 <artifactId>junit
</artifactId>
188 <version>4.13.2</version>
192 <groupId>org.unitils
</groupId>
193 <artifactId>unitils-core
</artifactId>
194 <version>${unitils.version}
</version>
198 <groupId>org.unitils
</groupId>
199 <artifactId>unitils-database
</artifactId>
200 <version>${unitils.version}
</version>
204 <groupId>org.springframework
</groupId>
205 <artifactId>spring-jdbc
</artifactId>
210 <groupId>org.unitils
</groupId>
211 <artifactId>unitils-dbmaintainer
</artifactId>
212 <version>${unitils.version}
</version>
216 <groupId>org.hibernate
</groupId>
217 <artifactId>hibernate
</artifactId>
220 <groupId>org.slf4j
</groupId>
221 <artifactId>slf4j-nop
</artifactId>
226 <groupId>org.unitils
</groupId>
227 <artifactId>unitils-dbunit
</artifactId>
228 <version>${unitils.version}
</version>
232 <groupId>org.unitils
</groupId>
233 <artifactId>unitils-spring
</artifactId>
234 <version>${unitils.version}
</version>
239 <groupId>org.dbunit
</groupId>
240 <artifactId>dbunit
</artifactId>
241 <version>2.4.9</version>
245 <groupId>com.mchange
</groupId>
246 <artifactId>c3p0
</artifactId>
247 <version>0.9.5.2</version>
251 <groupId>commons-dbcp
</groupId>
252 <artifactId>commons-dbcp
</artifactId>
253 <version>1.4</version>
256 <groupId>commons-pool
</groupId>
257 <artifactId>commons-pool
</artifactId>
258 <version>1.6</version>
261 <groupId>org.hamcrest
</groupId>
262 <artifactId>hamcrest-core
</artifactId>
263 <version>1.3</version>