blob: 771c2b6f318bad3880f4d11d561838966a1daa6a [file] [log] [blame]
Stephan Herrmann415903e2012-05-26 15:53:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmann48090d62021-09-11 22:01:12 +02003 Copyright (c) 2012, 2021 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 Herrmann415903e2012-05-26 15:53:02 +020017 <groupId>eclipse.jdt.core</groupId>
Stephan Herrmannf0f59222021-09-21 20:44:38 +020018 <version>4.22.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 Herrmann396f3342013-03-14 14:31:57 +010021 <groupId>org.eclipse.jdt</groupId>
Stephan Herrmann415903e2012-05-26 15:53:02 +020022 <artifactId>org.eclipse.jdt.core.tests.compiler</artifactId>
Stephan Herrmann48090d62021-09-11 22:01:12 +020023 <version>3.12.1750-SNAPSHOT</version>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020024 <packaging>eclipse-test-plugin</packaging>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010025
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020026 <properties>
27 <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars>
28 </properties>
29
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010030 <build>
31 <plugins>
32 <plugin>
33 <groupId>org.eclipse.tycho</groupId>
34 <artifactId>tycho-surefire-plugin</artifactId>
35 <version>${tycho.version}</version>
36 <configuration>
37 <includes>
38 <include>org/eclipse/jdt/core/tests/compiler/parser/TestAll.class</include>
39 <include>org/eclipse/jdt/core/tests/compiler/regression/TestAll.class</include>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +010040 <include>org/eclipse/jdt/core/tests/eval/TestAll.class</include>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010041 </includes>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020042 <argLine>${tycho.surefire.argLine}</argLine>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010043 </configuration>
44 </plugin>
45 </plugins>
46 </build>
47
Stephan Herrmann3442b522018-01-25 21:18:41 +010048 <profiles>
49 <profile>
50 <id>test-on-javase-9</id>
51 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann3442b522018-01-25 21:18:41 +010056 <configuration>
57 <toolchains>
58 <jdk>
59 <id>JavaSE-9</id>
60 </jdk>
61 </toolchains>
62 </configuration>
63 </plugin>
64 </plugins>
65 </build>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020066 <properties>
67 <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine>
68 </properties>
Stephan Herrmann3442b522018-01-25 21:18:41 +010069 </profile>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +020070 <profile>
71 <id>test-on-javase-10</id>
72 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +020077 <configuration>
78 <toolchains>
79 <jdk>
80 <id>JavaSE-10</id>
81 </jdk>
82 </toolchains>
83 </configuration>
84 </plugin>
85 </plugins>
86 </build>
87 <properties>
88 <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-10/configure -->
89 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,10</tycho.surefire.argLine>
90 </properties>
91 </profile>
Stephan Herrmanna441c702018-10-14 17:51:04 +020092 <profile>
93 <id>test-on-javase-11</id>
94 <build>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmanna441c702018-10-14 17:51:04 +020099 <configuration>
100 <toolchains>
101 <jdk>
102 <id>JavaSE-11</id>
103 </jdk>
104 </toolchains>
105 </configuration>
106 </plugin>
107 </plugins>
108 </build>
109 <properties>
110 <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-11/configure -->
111 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,11</tycho.surefire.argLine>
112 </properties>
113 </profile>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +0100114 <profile>
115 <id>test-on-javase-12</id>
116 <build>
117 <plugins>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +0100121 <configuration>
122 <toolchains>
123 <jdk>
124 <id>JavaSE-12</id>
125 </jdk>
126 </toolchains>
127 </configuration>
128 </plugin>
129 </plugins>
130 </build>
131 <properties>
132 <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-12/configure -->
133 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,12</tycho.surefire.argLine>
134 </properties>
135 </profile>
Stephan Herrmann663c9132020-10-08 23:36:09 +0200136 <profile>
Stephan Herrmann37b62262019-09-05 20:02:13 +0200137 <id>test-on-javase-13</id>
138 <build>
139 <plugins>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann37b62262019-09-05 20:02:13 +0200143 <configuration>
144 <toolchains>
145 <jdk>
146 <id>JavaSE-13</id>
147 </jdk>
148 </toolchains>
149 </configuration>
150 </plugin>
151 </plugins>
152 </build>
153 <properties>
154 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,13</tycho.surefire.argLine>
155 </properties>
156 </profile>
Stephan Herrmannf59da282020-04-10 18:10:58 +0200157 <profile>
158 <id>test-on-javase-14</id>
159 <build>
160 <plugins>
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmannf59da282020-04-10 18:10:58 +0200164 <configuration>
165 <toolchains>
166 <jdk>
167 <id>JavaSE-14</id>
168 </jdk>
169 </toolchains>
170 </configuration>
171 </plugin>
172 </plugins>
173 </build>
174 <properties>
175 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,13,14</tycho.surefire.argLine>
176 </properties>
177 </profile>
Stephan Herrmann663c9132020-10-08 23:36:09 +0200178 <profile>
179 <id>test-on-javase-15</id>
180 <build>
181 <plugins>
182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann663c9132020-10-08 23:36:09 +0200185 <configuration>
186 <toolchains>
187 <jdk>
188 <id>JavaSE-15</id>
189 </jdk>
190 </toolchains>
191 </configuration>
192 </plugin>
193 </plugins>
194 </build>
195 <properties>
196 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,14,15</tycho.surefire.argLine>
197 </properties>
198 </profile>
Stephan Herrmannc1951232021-03-20 15:57:34 +0100199 <profile>
200 <id>test-on-javase-16</id>
201 <build>
202 <plugins>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-toolchains-plugin</artifactId>
206 <version>1.1</version>
207 <executions>
208 <execution>
209 <phase>validate</phase>
210 <goals>
211 <goal>toolchain</goal>
212 </goals>
213 </execution>
214 </executions>
215 <configuration>
216 <toolchains>
217 <jdk>
218 <id>JavaSE-16</id>
219 </jdk>
220 </toolchains>
221 </configuration>
222 </plugin>
223 </plugins>
224 </build>
225 <properties>
226 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,15,16</tycho.surefire.argLine>
227 </properties>
228 </profile>
Stephan Herrmann48090d62021-09-11 22:01:12 +0200229 <profile>
230 <id>test-on-javase-17</id>
231 <build>
232 <plugins>
233 <plugin>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-toolchains-plugin</artifactId>
236 <version>1.1</version>
237 <executions>
238 <execution>
239 <phase>validate</phase>
240 <goals>
241 <goal>toolchain</goal>
242 </goals>
243 </execution>
244 </executions>
245 <configuration>
246 <toolchains>
247 <jdk>
248 <id>JavaSE-17</id>
249 </jdk>
250 </toolchains>
251 </configuration>
252 </plugin>
253 </plugins>
254 </build>
255 <properties>
256 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,14,17</tycho.surefire.argLine>
257 </properties>
258 </profile>
Stephan Herrmann3442b522018-01-25 21:18:41 +0100259 </profiles>
260
Stephan Herrmann415903e2012-05-26 15:53:02 +0200261</project>