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.15.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>
13 <description>Holds all Tests for the Taxonomic Editor
</description>
17 <!-- replace the place holders like ${...} in datasources.xml -->
18 <filtering>true
</filtering>
19 <directory>src/test/resources
</directory>
20 <targetPath>../test-classes
</targetPath>
22 <include>datasources.xml
</include>
26 <!-- all other test resources without filtering -->
27 <directory>src/test/resources
</directory>
28 <targetPath>../test-classes
</targetPath>
30 <exclude>datasources.xml
</exclude>
34 <!-- all main resources without filtering -->
35 <directory>src/main/resources
</directory>
40 <groupId>org.eclipse.tycho
</groupId>
41 <artifactId>target-platform-configuration
</artifactId>
42 <version>${tycho.version}
</version>
45 <!-- Work around for https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045 -->
46 <!-- taken from https://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering -->
48 <type>p2-installable-unit
</type>
49 <id>org.eclipse.equinox.servletbridge.extensionbundle
</id>
53 <dependency-resolution>
56 <type>eclipse-feature
</type>
57 <id>eu.etaxonomy.taxeditor.feature
</id>
58 <versionRange>1.0.0</versionRange>
61 </dependency-resolution>
65 <groupId>org.eclipse.tycho
</groupId>
66 <artifactId>tycho-surefire-plugin
</artifactId>
67 <version>${tycho.version}
</version>
71 <groupId>org.eclipse.jetty
</groupId>
72 <artifactId>jetty-maven-plugin
</artifactId>
73 <version>${jetty-version}
</version>
78 <name>cdm.datasource
</name>
79 <value>cdmTest
</value>
83 The lucene index should be placed into the target folder,
84 so user.home needs to be set to this folder.
85 user.home needs to be overridden since it already
86 exists, thus the force option is turned on above
88 <name>user.home
</name>
89 <value>${basedir}/target/
</value>
92 <name>spring.profiles.active
</name>
93 <value>remoting
</value>
96 <name>cdm.beanDefinitionFile
</name>
97 <value>${basedir}/target/test-classes/datasources.xml
</value>
100 <stopPort>9191</stopPort>
101 <stopKey>jetty-cdm-server
</stopKey>
102 <stopWait>10</stopWait>
107 ${project.parent.basedir} can not be used due to the bug
108 https://issues.apache.org/jira/browse/MNG-5522
109 as long as this is unfixed we replace it by
112 <war>${basedir}/../eu.etaxonomy.taxeditor.cdmlib/src/main/resources/etc/jetty/cdmlib-remote-webapp.war
</war>
113 <daemon>true
</daemon>
114 <supportedPackagings>
115 <!-- see https://github.com/eclipse/jetty.project/issues/2372 -->
116 <supportedPackaging>eclipse-test-plugin
</supportedPackaging>
117 </supportedPackagings>
120 <!-- NOTE: This dependency requires that the
121 EditRepository is configured as pluginRepository -->
123 <groupId>eu.etaxonomy
</groupId>
124 <artifactId>cdmlib-db
</artifactId>
125 <version>${cdmlib.version}
</version>
127 <!-- Do we still need this? If yes, should we move it to cdmlib-db? -->
129 <groupId>commons-dbcp
</groupId>
130 <artifactId>commons-dbcp
</artifactId>
131 <version>1.4</version>
137 <phase>pre-integration-test
</phase>
139 <goal>deploy-war
</goal>
142 <scanIntervalSeconds>0</scanIntervalSeconds>
147 <phase>post-integration-test
</phase>