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.1.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 <!-- replace the place holders like ${...} in datasources.xml -->
16 <filtering>true
</filtering>
17 <directory>src/test/resources
</directory>
18 <targetPath>../test-classes
</targetPath>
20 <include>datasources.xml
</include>
24 <!-- all other test resources without filtering -->
25 <directory>src/test/resources
</directory>
26 <targetPath>../test-classes
</targetPath>
28 <exclude>datasources.xml
</exclude>
32 <!-- all main resources without filtering -->
33 <directory>src/main/resources
</directory>
38 <groupId>org.eclipse.tycho
</groupId>
39 <artifactId>target-platform-configuration
</artifactId>
40 <version>${tycho.version}
</version>
43 <!-- Work around for https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045 -->
44 <!-- taken from https://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering -->
46 <type>p2-installable-unit
</type>
47 <id>org.eclipse.equinox.servletbridge.extensionbundle
</id>
51 <dependency-resolution>
54 <type>eclipse-feature
</type>
55 <id>eu.etaxonomy.taxeditor.feature
</id>
56 <versionRange>1.0.0</versionRange>
59 </dependency-resolution>
63 <groupId>org.eclipse.tycho
</groupId>
64 <artifactId>tycho-surefire-plugin
</artifactId>
65 <version>${tycho.version}
</version>
69 <groupId>org.eclipse.jetty
</groupId>
70 <artifactId>jetty-maven-plugin
</artifactId>
71 <version>9.4.1.v20170120
</version>
76 <name>cdm.datasource
</name>
77 <value>cdmTest
</value>
81 The lucene index should be placed into the target folder,
82 so user.home needs to be set to this folder.
83 user.home needs to be overridden since it already
84 exists, thus the force option is turned on above
86 <name>user.home
</name>
87 <value>${basedir}/target/
</value>
90 <name>spring.profiles.active
</name>
91 <value>remoting
</value>
94 <name>cdm.beanDefinitionFile
</name>
95 <value>${basedir}/target/test-classes/datasources.xml
</value>
98 <stopPort>9191</stopPort>
99 <stopKey>jetty-cdm-server
</stopKey>
100 <stopWait>10</stopWait>
105 ${project.parent.basedir} can not be used due to the bug
106 https://issues.apache.org/jira/browse/MNG-5522
107 as long as this is unfixed we replace it by
110 <war>${basedir}/../eu.etaxonomy.taxeditor.cdmlib/src/main/resources/etc/jetty/cdmlib-remote-webapp.war
</war>
111 <daemon>true
</daemon>
114 <!-- NOTE: This dependency requires that the
115 EditRepository is configured as pluginRepository -->
117 <groupId>eu.etaxonomy
</groupId>
118 <artifactId>cdmlib-db
</artifactId>
119 <version>${cdmlib.version}
</version>
121 <!-- Do we still need this? If yes, should we move it to cdmlib-db? -->
123 <groupId>commons-dbcp
</groupId>
124 <artifactId>commons-dbcp
</artifactId>
125 <version>1.4</version>
131 <phase>pre-integration-test
</phase>
133 <goal>deploy-war
</goal>
136 <scanIntervalSeconds>0</scanIntervalSeconds>
141 <phase>post-integration-test
</phase>