bumping eu.etaxonomy.taxeditor.test to version 4.0.0-SNAPSHOT
[taxeditor.git] / eu.etaxonomy.taxeditor.test / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project>
3
4 <parent>
5 <groupId>eu.etaxonomy</groupId>
6 <artifactId>taxeditor-parent</artifactId>
7 <version>4.0.0-SNAPSHOT</version>
8 </parent>
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>eu.etaxonomy.taxeditor.test</artifactId>
11 <packaging>eclipse-test-plugin</packaging>
12 <name>UI Test Bundle</name>
13 <description>Holds all Tests for the Taxonomic Editor</description>
14 <build>
15 <plugins>
16 <plugin>
17 <groupId>org.eclipse.tycho</groupId>
18 <artifactId>target-platform-configuration</artifactId>
19 <version>${tycho.version}</version>
20 <configuration>
21 <filters>
22 <!-- Work around for https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045 -->
23 <!-- taken from https://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering -->
24 <filter>
25 <type>p2-installable-unit</type>
26 <id>org.eclipse.equinox.servletbridge.extensionbundle</id>
27 <removeAll />
28 </filter>
29 </filters>
30 </configuration>
31 </plugin>
32 <plugin>
33 <groupId>org.eclipse.tycho</groupId>
34 <artifactId>tycho-surefire-plugin</artifactId>
35 <version>${tycho.version}</version>
36 <configuration>
37 <!-- currently we run only the non-ui unit tests so we don't the
38 harness -->
39 <!-- <useUIHarness>true</useUIHarness> -->
40 <dependencies>
41 <!-- This will pull the feature and its dependent plugins into
42 the classpath for the tests. Note that this requires ALL taxeditor projects
43 to be installed. -->
44 <dependency>
45 <type>eclipse-feature</type>
46 <artifactId>eu.etaxonomy.taxeditor.feature</artifactId>
47 <!-- This is the minimum required version -->
48 <version>1.0.0</version>
49 </dependency>
50 </dependencies>
51 </configuration>
52 </plugin>
53 <plugin>
54 <groupId>org.eclipse.jetty</groupId>
55 <artifactId>jetty-maven-plugin</artifactId>
56 <version>9.1.3.v20140225</version><!-- do not update, since later versions are no longer compatible to java 7 -->
57 <dependencies>
58 <dependency>
59 <groupId>com.mchange</groupId>
60 <artifactId>c3p0</artifactId>
61 <!--
62 IMPORTANT!!!
63 this must exactly match the version as set in
64 cdmlib-parent pom.xml otherwise the connection
65 through jndi will not work
66 -->
67 <version>0.9.5.2</version>
68 </dependency>
69 <!-- DATABASE DRIVER -->
70 <dependency>
71 <groupId>com.h2database</groupId>
72 <artifactId>h2</artifactId>
73 <version>1.4.190</version>
74 </dependency>
75 <dependency>
76 <groupId>mysql</groupId>
77 <artifactId>mysql-connector-java</artifactId>
78 <version>5.1.38</version>
79 </dependency>
80 <dependency>
81 <groupId>commons-dbcp</groupId>
82 <artifactId>commons-dbcp</artifactId>
83 <version>1.4</version>
84 </dependency>
85 <dependency>
86 <!-- needed to make eu.etaxonomy.cdm.database.LocalH2 available -->
87 <groupId>eu.etaxonomy</groupId>
88 <artifactId>cdmlib-persistence</artifactId>
89 <version>${project.version}</version>
90 </dependency>
91 <dependency>
92 <groupId>log4j</groupId>
93 <artifactId>log4j</artifactId>
94 <version>1.2.17</version>
95 </dependency>
96 </dependencies>
97 <configuration>
98 <jvmArgs>-Xmx512m -XX:MaxPermSize=512m</jvmArgs>
99 <systemProperties>
100 <force>true</force>
101 <systemProperty>
102 <!--
103 The lucene index should be placed into the target folder,
104 so user.home needs to be set to this folder.
105 user.home needs to be overridden since it already
106 exists, thus the force option is turned on above
107 -->
108 <name>user.home</name>
109 <value>${basedir}/target/</value>
110 </systemProperty>
111 <systemProperty>
112 <name>spring.profiles.active</name>
113 <value>remoting</value>
114 </systemProperty>
115 <systemProperty>
116 <name>cdm.beanDefinitionFile</name>
117 <value>${basedir}/src/test/resources/datasources.xml</value>
118 </systemProperty>
119 <systemProperty>
120 <name>cdm.datasource</name>
121 <value>cdmTest</value>
122 </systemProperty>
123 </systemProperties>
124 <stopPort>9191</stopPort>
125 <stopKey>jetty-cdm-server</stopKey>
126 <stopWait>10</stopWait>
127 <httpConnector>
128 <port>9090</port>
129 </httpConnector>
130 <!--
131 ${project.parent.basedir} can not be used due to the bug
132 https://issues.apache.org/jira/browse/MNG-5522
133 as long as this is unfixed we replace it by
134 ${basedir}/../
135 -->
136 <war>${basedir}/../eu.etaxonomy.taxeditor.cdmlib/src/main/resources/etc/jetty/cdmlib-remote-webapp.war</war>
137 <daemon>true</daemon>
138 </configuration>
139 <executions>
140 <execution>
141 <id>start-jetty</id>
142 <phase>pre-integration-test</phase>
143 <goals>
144 <goal>deploy-war</goal>
145 </goals>
146 <configuration>
147 <scanIntervalSeconds>0</scanIntervalSeconds>
148 </configuration>
149 </execution>
150 <execution>
151 <id>stop-jetty</id>
152 <phase>post-integration-test</phase>
153 <goals>
154 <goal>stop</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159 </plugins>
160 </build>
161 </project>