Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Stephan Herrmann | 663c913 | 2020-10-08 23:36:09 +0200 | [diff] [blame] | 3 | Copyright (c) 2012, 2020 Eclipse Foundation and others. |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 4 | 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 Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 8 | |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 9 | Contributors: |
| 10 | Igor Fedorenko - initial implementation |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 11 | Mickael Istria (Red Hat Inc.) - 416912: tycho-surefire-plugin configuration |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 12 | --> |
Stephan Herrmann | c7600d8 | 2013-04-28 22:48:05 +0200 | [diff] [blame] | 13 | <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 Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 14 | <modelVersion>4.0.0</modelVersion> |
| 15 | <parent> |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 16 | <artifactId>tests-pom</artifactId> |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 17 | <groupId>eclipse.jdt.core</groupId> |
Stephan Herrmann | 663c913 | 2020-10-08 23:36:09 +0200 | [diff] [blame] | 18 | <version>4.18.0-SNAPSHOT</version> |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 19 | <relativePath>../tests-pom/</relativePath> |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 20 | </parent> |
Stephan Herrmann | 396f334 | 2013-03-14 14:31:57 +0100 | [diff] [blame] | 21 | <groupId>org.eclipse.jdt</groupId> |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 22 | <artifactId>org.eclipse.jdt.core.tests.compiler</artifactId> |
Stephan Herrmann | 663c913 | 2020-10-08 23:36:09 +0200 | [diff] [blame] | 23 | <version>3.12.1400-SNAPSHOT</version> |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 24 | <packaging>eclipse-test-plugin</packaging> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 25 | |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 26 | <properties> |
| 27 | <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars> |
| 28 | </properties> |
| 29 | |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 30 | <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 Herrmann | 7e648ad | 2019-03-21 15:13:29 +0100 | [diff] [blame] | 40 | <include>org/eclipse/jdt/core/tests/eval/TestAll.class</include> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 41 | </includes> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 42 | <argLine>${tycho.surefire.argLine}</argLine> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 43 | </configuration> |
| 44 | </plugin> |
| 45 | </plugins> |
| 46 | </build> |
| 47 | |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 48 | <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 Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 56 | <configuration> |
| 57 | <toolchains> |
| 58 | <jdk> |
| 59 | <id>JavaSE-9</id> |
| 60 | </jdk> |
| 61 | </toolchains> |
| 62 | </configuration> |
| 63 | </plugin> |
| 64 | </plugins> |
| 65 | </build> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 66 | <properties> |
| 67 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine> |
| 68 | </properties> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 69 | </profile> |
Stephan Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 70 | <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 Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 77 | <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 Herrmann | a441c70 | 2018-10-14 17:51:04 +0200 | [diff] [blame] | 92 | <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 Herrmann | a441c70 | 2018-10-14 17:51:04 +0200 | [diff] [blame] | 99 | <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 Herrmann | 7e648ad | 2019-03-21 15:13:29 +0100 | [diff] [blame] | 114 | <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 Herrmann | 7e648ad | 2019-03-21 15:13:29 +0100 | [diff] [blame] | 121 | <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 Herrmann | 663c913 | 2020-10-08 23:36:09 +0200 | [diff] [blame] | 136 | <profile> |
Stephan Herrmann | 37b6226 | 2019-09-05 20:02:13 +0200 | [diff] [blame] | 137 | <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 Herrmann | 37b6226 | 2019-09-05 20:02:13 +0200 | [diff] [blame] | 143 | <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 Herrmann | f59da28 | 2020-04-10 18:10:58 +0200 | [diff] [blame] | 157 | <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 Herrmann | f59da28 | 2020-04-10 18:10:58 +0200 | [diff] [blame] | 164 | <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 Herrmann | 663c913 | 2020-10-08 23:36:09 +0200 | [diff] [blame] | 178 | <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 Herrmann | 663c913 | 2020-10-08 23:36:09 +0200 | [diff] [blame] | 185 | <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 Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 199 | </profiles> |
| 200 | |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 201 | </project> |