-
Notifications
You must be signed in to change notification settings - Fork 43
/
pom.xml
119 lines (110 loc) · 3.84 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!--
Copyright (c) 2017, 2018 Red Hat, Inc and others.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.
SPDX-License-Identifier: EPL-2.0
Contributors:
Red Hat, Inc - initial API and implementation
-->
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>org.eclipse.reddeer.requirements.test</artifactId>
<name>RedDeer Requirements Tests</name>
<packaging>eclipse-test-plugin</packaging>
<parent>
<groupId>org.eclipse.reddeer</groupId>
<artifactId>tests</artifactId>
<version>4.7.0-SNAPSHOT</version>
</parent>
<properties>
<apache-tomcat-10.version>10.0.4</apache-tomcat-10.version>
<apache-tomcat-10.mirror>http://archive.apache.org/dist/tomcat/tomcat-10/</apache-tomcat-10.mirror>
<apache-tomcat-10.home>${project.build.directory}/apache-tomcat-${apache-tomcat-10.version}</apache-tomcat-10.home>
<customArgLine>-Drd.config=${basedir}/resources/requirements.json -Dapache-tomcat-10.home=${apache-tomcat-10.home}</customArgLine>
</properties>
<!-- Used by JaCoCo to generate an aggregated report -->
<dependencies>
<dependency>
<groupId>org.eclipse.reddeer</groupId>
<artifactId>org.eclipse.reddeer.requirements</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>add-jdt-feature</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<dependencies combine.children="append">
<!-- This entry should enable creating of default JDK on Mac -->
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.eclipse.jdt.feature.group</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<resource>
<!-- Directory where to look for requirements -->
<directory>${basedir}/../../plugins/org.eclipse.reddeer.requirements/resources</directory>
<!-- Filtering enables substitution of variables defined in files -->
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<useUIThread>false</useUIThread>
<dependencies combine.children="append">
<!-- This entry should enable creating of default JDK on Mac -->
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.eclipse.jst.server_adapters.ext.feature.feature.group</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
</configuration>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>${download-plugin-version}</version>
<executions>
<execution>
<id>install-apache-tomcat-10</id>
<phase>pre-integration-test</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${apache-tomcat-10.mirror}/v${apache-tomcat-10.version}/bin/apache-tomcat-${apache-tomcat-10.version}.zip</url>
<outputFileName>apache-tomcat-${apache-tomcat-10.version}.zip</outputFileName>
<unpack>true</unpack>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>