Cleanup a bit, no real change
[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>3.13.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.2.9.v20150224</version>
57 <configuration>
58 <jvmArgs>-Xmx512m -XX:MaxPermSize=512m</jvmArgs>
59 <systemProperties>
60 <force>true</force>
61 <systemProperty>
62 <!--
63 The lucene index should be placed into the target folder,
64 so user.home needs to be set to this folder.
65 user.home needs to be overriden since it already
66 exists, thus the force option is turned on above
67 -->
68 <name>user.home</name>
69 <value>${basedir}/target/</value>
70 </systemProperty>
71 <systemProperty>
72 <name>spring.profiles.active</name>
73 <value>remoting</value>
74 </systemProperty>
75 <systemProperty>
76 <name>cdm.beanDefinitionFile</name>
77 <value>${basedir}/src/test/resources/datasources.xml</value>
78 </systemProperty>
79 <systemProperty>
80 <name>cdm.datasource</name>
81 <value>cdmTest</value>
82 </systemProperty>
83 </systemProperties>
84 <stopPort>9191</stopPort>
85 <stopKey>jetty-cdm-server</stopKey>
86 <stopWait>10</stopWait>
87 <httpConnector>
88 <port>9090</port>
89 </httpConnector>
90 <war>${project.parent.basedir}/eu.etaxonomy.taxeditor.cdmlib/src/main/resources/etc/jetty/cdmlib-remote-webapp.war</war>
91 <daemon>true</daemon>
92 </configuration>
93 <executions>
94 <execution>
95 <id>start-jetty</id>
96 <phase>pre-integration-test</phase>
97 <goals>
98 <goal>deploy-war</goal>
99 </goals>
100 <configuration>
101 <scanIntervalSeconds>0</scanIntervalSeconds>
102 </configuration>
103 </execution>
104 <execution>
105 <id>stop-jetty</id>
106 <phase>post-integration-test</phase>
107 <goals>
108 <goal>stop</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
113 </plugins>
114 </build>
115 </project>