Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4eb06e4cc4d892e111f9a56e57286e2fd7938f52 (plain) (blame)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0" encoding="UTF-8"?>
<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>
	<parent>
		<groupId>org.eclipse.linuxtools</groupId>
		<artifactId>org.eclipse.linuxtools.docker</artifactId>
		<version>4.2.0-SNAPSHOT</version>
	</parent>
	<artifactId>org.eclipse.linuxtools.docker.integration.tests</artifactId>
	<version>2.1.0-SNAPSHOT</version>
	<packaging>eclipse-test-plugin</packaging>
	
	<properties>
		<systemProperties>-DsearchConnection=${searchConnection} -DdockerServerURI=${dockerServerURI} -DunixSocket=${unixSocket} -DdockerHubUsername=${dockerHubUsername} -DdockerHubEmail=${dockerHubEmail} -DdockerHubPassword=${dockerHubPassword} -DdockerComposePath=${dockerComposePath} -DdockerMockito=${dockerMockito} -DtargetPlatformRepoURL=${targetPlatformRepoURL} -DtargetPlatformFeatureGroupID=${targetPlatformFeatureGroupID}</systemProperties>
		<searchConnection></searchConnection>
		<unixSocket></unixSocket>
		<dockerServerURI></dockerServerURI>
		<dockerHubUsername></dockerHubUsername>
		<dockerHubEmail></dockerHubEmail>
		<dockerHubPassword></dockerHubPassword>
		<dockerComposePath></dockerComposePath>
		<dockerMockito>true</dockerMockito>
		<tycho.test.jvmArgs>-Xmx800m</tycho.test.jvmArgs>
		<tycho.surefire.timeout>1800</tycho.surefire.timeout>
		<targetPlatformRepoURL></targetPlatformRepoURL>
		<targetPlatformFeatureGroupID></targetPlatformFeatureGroupID>
	</properties>


	<profiles>
		<profile>
			<id>ignore-mac-deps-on-other-os</id>
			<activation>
				<os>
					<family>!mac</family>
				</os>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>target-platform-configuration</artifactId>
						<configuration>
							<dependency-resolution>
								<optionalDependencies>ignore</optionalDependencies>
							</dependency-resolution>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-compiler-plugin</artifactId>
						<configuration>
							<optionalDependencies>ignore</optionalDependencies>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-surefire-plugin</artifactId>
						<version>${tycho-version}</version>
						<configuration>
							<useUIThread>false</useUIThread>
							<forkedProcessTimeoutInSeconds>${tycho.surefire.timeout}</forkedProcessTimeoutInSeconds>
							<argLine>${tycho.test.jvmArgs} ${systemProperties}</argLine>
							<testClass>org.eclipse.linuxtools.docker.integration.tests.DockerAllBotTest</testClass>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>mac</id>
			<activation>
				<os>
					<family>mac</family>
				</os>
			</activation>
			<properties>
				<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=388084 -->
				<!-- THE FOLLOWING LINE MUST NOT BE BROKEN BY AUTOFORMATTING -->
				<tycho.test.jvmArgs>-Xmx800m -XstartOnFirstThread</tycho.test.jvmArgs>
			</properties>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>target-platform-configuration</artifactId>
						<configuration>
							<environments>
								<environment>
									<os>macosx</os>
									<ws>cocoa</ws>
									<arch>x86_64</arch>
								</environment>
							</environments>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-surefire-plugin</artifactId>
						<configuration>
							<useUIThread>false</useUIThread>
							<forkedProcessTimeoutInSeconds>${tycho.surefire.timeout}</forkedProcessTimeoutInSeconds>
							<argLine>${tycho.test.jvmArgs} ${systemProperties}</argLine>
							<testClass>org.eclipse.linuxtools.docker.integration.tests.DockerAllBotTest</testClass>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>change-target-platform</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>target-platform-configuration</artifactId>
						<configuration>
      							<dependency-resolution>
           							<extraRequirements>
									<requirement>
										<type>p2-installable-unit</type>
										<id>${targetPlatformFeatureGroupID}</id>
										<versionRange>0.0.0</versionRange>
									</requirement>
         							</extraRequirements>
    							</dependency-resolution>
						</configuration>
					</plugin>
				</plugins>
			</build>
			<repositories>
				<repository>
					<id>repo</id>
					<name>repo</name>
					<layout>p2</layout>
					<url>${targetPlatformRepoURL}</url>
				</repository>
			</repositories>
		</profile>
	</profiles>

</project>

Back to the top