blob: f502970c747d8e44003020aaec93e30df0bb9392 [file] [log] [blame]
Stephan Herrmann415903e2012-05-26 15:53:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmann663c9132020-10-08 23:36:09 +02003 Copyright (c) 2012, 2020 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 Herrmann663c9132020-10-08 23:36:09 +020018 <version>4.18.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 Herrmann663c9132020-10-08 23:36:09 +020023 <version>3.12.1400-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 Herrmann3442b522018-01-25 21:18:41 +0100199 </profiles>
200
Stephan Herrmann415903e2012-05-26 15:53:02 +0200201</project>