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>4.0.0-SNAPSHOT
</version>
8 <artifactId>eu.etaxonomy.taxeditor.test
</artifactId>
9 <packaging>eclipse-test-plugin
</packaging>
10 <name>UI Test Bundle
</name>
11 <description>Holds all Tests for the Taxonomic Editor
</description>
15 <groupId>org.eclipse.tycho
</groupId>
16 <artifactId>target-platform-configuration
</artifactId>
17 <version>${tycho.version}
</version>
20 <!-- Work around for https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045 -->
21 <!-- taken from https://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering -->
23 <type>p2-installable-unit
</type>
24 <id>org.eclipse.equinox.servletbridge.extensionbundle
</id>
31 <groupId>org.eclipse.tycho
</groupId>
32 <artifactId>tycho-surefire-plugin
</artifactId>
33 <version>${tycho.version}
</version>
35 <!-- currently we run only the non-ui unit tests so we don't the
37 <!-- <useUIHarness>true</useUIHarness> -->
39 <!-- This will pull the feature and its dependent plugins into
40 the classpath for the tests. Note that this requires ALL taxeditor projects
43 <type>eclipse-feature
</type>
44 <artifactId>eu.etaxonomy.taxeditor.feature
</artifactId>
45 <!-- This is the minimum required version -->
46 <version>1.0.0</version>
52 <groupId>org.eclipse.jetty
</groupId>
53 <artifactId>jetty-maven-plugin
</artifactId>
54 <version>9.1.3.v20140225
</version><!-- do not update, since later versions are no longer compatible to java 7 -->
56 To see the detailed list of parameters that can be configured for a particular goal:
57 mvn jetty:help -Ddetail=true -Dgoal= goal-name
63 <name>cdm.datasource
</name>
64 <value>cdmTest
</value>
68 The lucene index should be placed into the target folder,
69 so user.home needs to be set to this folder.
70 user.home needs to be overridden since it already
71 exists, thus the force option is turned on above
73 <name>user.home
</name>
74 <value>${basedir}/target/
</value>
77 <name>spring.profiles.active
</name>
78 <value>remoting
</value>
81 <name>cdm.beanDefinitionFile
</name>
82 <value>${basedir}/target/test-classes/datasources.xml
</value>
85 <stopPort>9191</stopPort>
86 <stopKey>jetty-cdm-server
</stopKey>
87 <stopWait>10</stopWait>
92 ${project.parent.basedir} can not be used due to the bug
93 https://issues.apache.org/jira/browse/MNG-5522
94 as long as this is unfixed we replace it by
97 <war>${basedir}/../eu.etaxonomy.taxeditor.cdmlib/src/main/resources/etc/jetty/cdmlib-remote-webapp.war
</war>
102 <groupId>com.mchange
</groupId>
103 <artifactId>c3p0
</artifactId>
106 this must exactly match the version as set in
107 cdmlib-parent pom.xml
109 <version>0.9.5.2</version>
111 <!-- DATABASE DRIVER -->
113 <groupId>com.h2database
</groupId>
114 <artifactId>h2
</artifactId>
115 <version>1.4.190</version>
118 <groupId>mysql
</groupId>
119 <artifactId>mysql-connector-java
</artifactId>
120 <version>5.1.38</version>
123 <groupId>commons-dbcp
</groupId>
124 <artifactId>commons-dbcp
</artifactId>
125 <version>1.4</version>
128 <groupId>log4j</groupId>
129 <artifactId>log4j</artifactId>
130 <version>1.2.17</version>
134 <groupId>eu.etaxonomy</groupId>
135 <artifactId>cdmlib-persistence</artifactId>
136 <version>${project.version}</version>
145 <phase>pre-integration-test
</phase>
147 <goal>deploy-war
</goal>
150 <scanIntervalSeconds>0</scanIntervalSeconds>
155 <phase>post-integration-test
</phase>