blob: 07ffc013da4ba71cb05e5df7ad149d8f4c3180b3 [file] [log] [blame]
Stephan Herrmann415903e2012-05-26 15:53:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmannb1453352022-11-17 19:21:57 +01003 Copyright (c) 2012, 2022 Eclipse Foundation and others.
Stephan Herrmann415903e2012-05-26 15:53:02 +02004 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Distribution License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/org/documents/edl-v10.php
Stephan Herrmann7941b7c2013-11-03 16:07:28 +01008
Stephan Herrmann415903e2012-05-26 15:53:02 +02009 Contributors:
10 Igor Fedorenko - initial implementation
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010011 Mickael Istria (Red Hat Inc.) - 416912: tycho-surefire-plugin configuration
Stephan Herrmann415903e2012-05-26 15:53:02 +020012-->
Stephan Herrmannc7600d82013-04-28 22:48:05 +020013<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">
Stephan Herrmann415903e2012-05-26 15:53:02 +020014 <modelVersion>4.0.0</modelVersion>
15 <parent>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020016 <artifactId>tests-pom</artifactId>
Stephan Herrmanne8828ac2022-02-11 21:14:44 +010017 <groupId>org.eclipse.jdt</groupId>
Stephan Herrmannfd1414e2022-12-26 17:42:58 +010018 <version>4.27.0-SNAPSHOT</version>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020019 <relativePath>../tests-pom/</relativePath>
Stephan Herrmann415903e2012-05-26 15:53:02 +020020 </parent>
Stephan Herrmann415903e2012-05-26 15:53:02 +020021 <artifactId>org.eclipse.jdt.core.tests.compiler</artifactId>
Stephan Herrmannb1453352022-11-17 19:21:57 +010022 <version>3.12.2050-SNAPSHOT</version>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020023 <packaging>eclipse-test-plugin</packaging>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010024
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020025 <properties>
26 <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars>
27 </properties>
28
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010029 <build>
30 <plugins>
31 <plugin>
32 <groupId>org.eclipse.tycho</groupId>
33 <artifactId>tycho-surefire-plugin</artifactId>
34 <version>${tycho.version}</version>
35 <configuration>
36 <includes>
37 <include>org/eclipse/jdt/core/tests/compiler/parser/TestAll.class</include>
38 <include>org/eclipse/jdt/core/tests/compiler/regression/TestAll.class</include>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +010039 <include>org/eclipse/jdt/core/tests/eval/TestAll.class</include>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010040 </includes>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020041 <argLine>${tycho.surefire.argLine}</argLine>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010042 </configuration>
43 </plugin>
44 </plugins>
45 </build>
46
Stephan Herrmann3442b522018-01-25 21:18:41 +010047 <profiles>
48 <profile>
49 <id>test-on-javase-9</id>
50 <build>
51 <plugins>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann3442b522018-01-25 21:18:41 +010055 <configuration>
56 <toolchains>
57 <jdk>
58 <id>JavaSE-9</id>
59 </jdk>
60 </toolchains>
61 </configuration>
62 </plugin>
63 </plugins>
64 </build>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020065 <properties>
66 <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine>
67 </properties>
Stephan Herrmann3442b522018-01-25 21:18:41 +010068 </profile>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +020069 <profile>
70 <id>test-on-javase-10</id>
71 <build>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +020076 <configuration>
77 <toolchains>
78 <jdk>
79 <id>JavaSE-10</id>
80 </jdk>
81 </toolchains>
82 </configuration>
83 </plugin>
84 </plugins>
85 </build>
86 <properties>
87 <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-10/configure -->
88 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,10</tycho.surefire.argLine>
89 </properties>
90 </profile>
Stephan Herrmanna441c702018-10-14 17:51:04 +020091 <profile>
92 <id>test-on-javase-11</id>
93 <build>
94 <plugins>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmanna441c702018-10-14 17:51:04 +020098 <configuration>
99 <toolchains>
100 <jdk>
101 <id>JavaSE-11</id>
102 </jdk>
103 </toolchains>
104 </configuration>
105 </plugin>
106 </plugins>
107 </build>
108 <properties>
109 <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-11/configure -->
110 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,11</tycho.surefire.argLine>
111 </properties>
112 </profile>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +0100113 <profile>
114 <id>test-on-javase-12</id>
115 <build>
116 <plugins>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +0100120 <configuration>
121 <toolchains>
122 <jdk>
123 <id>JavaSE-12</id>
124 </jdk>
125 </toolchains>
126 </configuration>
127 </plugin>
128 </plugins>
129 </build>
130 <properties>
131 <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-12/configure -->
132 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,12</tycho.surefire.argLine>
133 </properties>
134 </profile>
Stephan Herrmann663c9132020-10-08 23:36:09 +0200135 <profile>
Stephan Herrmann37b62262019-09-05 20:02:13 +0200136 <id>test-on-javase-13</id>
137 <build>
138 <plugins>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann37b62262019-09-05 20:02:13 +0200142 <configuration>
143 <toolchains>
144 <jdk>
145 <id>JavaSE-13</id>
146 </jdk>
147 </toolchains>
148 </configuration>
149 </plugin>
150 </plugins>
151 </build>
152 <properties>
153 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,13</tycho.surefire.argLine>
154 </properties>
155 </profile>
Stephan Herrmannf59da282020-04-10 18:10:58 +0200156 <profile>
157 <id>test-on-javase-14</id>
158 <build>
159 <plugins>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmannf59da282020-04-10 18:10:58 +0200163 <configuration>
164 <toolchains>
165 <jdk>
166 <id>JavaSE-14</id>
167 </jdk>
168 </toolchains>
169 </configuration>
170 </plugin>
171 </plugins>
172 </build>
173 <properties>
174 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,13,14</tycho.surefire.argLine>
175 </properties>
176 </profile>
Stephan Herrmann663c9132020-10-08 23:36:09 +0200177 <profile>
178 <id>test-on-javase-15</id>
179 <build>
180 <plugins>
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann663c9132020-10-08 23:36:09 +0200184 <configuration>
185 <toolchains>
186 <jdk>
187 <id>JavaSE-15</id>
188 </jdk>
189 </toolchains>
190 </configuration>
191 </plugin>
192 </plugins>
193 </build>
194 <properties>
195 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,14,15</tycho.surefire.argLine>
196 </properties>
197 </profile>
Stephan Herrmannc1951232021-03-20 15:57:34 +0100198 <profile>
199 <id>test-on-javase-16</id>
200 <build>
201 <plugins>
202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmannc1951232021-03-20 15:57:34 +0100205 <configuration>
206 <toolchains>
207 <jdk>
208 <id>JavaSE-16</id>
209 </jdk>
210 </toolchains>
211 </configuration>
212 </plugin>
213 </plugins>
214 </build>
215 <properties>
216 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,15,16</tycho.surefire.argLine>
217 </properties>
218 </profile>
Stephan Herrmann48090d62021-09-11 22:01:12 +0200219 <profile>
220 <id>test-on-javase-17</id>
221 <build>
222 <plugins>
223 <plugin>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann48090d62021-09-11 22:01:12 +0200226 <configuration>
227 <toolchains>
228 <jdk>
229 <id>JavaSE-17</id>
230 </jdk>
231 </toolchains>
232 </configuration>
233 </plugin>
234 </plugins>
235 </build>
236 <properties>
237 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,14,17</tycho.surefire.argLine>
238 </properties>
239 </profile>
Stephan Herrmann2352c112022-04-03 01:28:41 +0200240 <profile>
241 <id>test-on-javase-18</id>
242 <build>
243 <plugins>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann2352c112022-04-03 01:28:41 +0200247 <configuration>
248 <toolchains>
249 <jdk>
250 <id>JavaSE-18</id>
251 </jdk>
252 </toolchains>
253 </configuration>
254 </plugin>
255 </plugins>
256 </build>
257 <properties>
258 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,15,18</tycho.surefire.argLine>
259 </properties>
260 </profile>
Stephan Herrmannb1453352022-11-17 19:21:57 +0100261 <profile>
262 <id>test-on-javase-19</id>
263 <build>
264 <plugins>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-toolchains-plugin</artifactId>
268 <configuration>
269 <toolchains>
270 <jdk>
271 <id>JavaSE-19</id>
272 </jdk>
273 </toolchains>
274 </configuration>
275 </plugin>
276 </plugins>
277 </build>
278 <properties>
279 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,17,19</tycho.surefire.argLine>
280 </properties>
281 </profile>
Stephan Herrmann3442b522018-01-25 21:18:41 +0100282 </profiles>
283
Stephan Herrmann415903e2012-05-26 15:53:02 +0200284</project>