Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Stephan Herrmann | a1dd2df | 2017-12-05 20:11:07 +0100 | [diff] [blame] | 3 | Copyright (c) 2012, 2016 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 | e53c56e | 2019-07-06 21:03:57 +0200 | [diff] [blame] | 18 | <version>4.13.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 | e53c56e | 2019-07-06 21:03:57 +0200 | [diff] [blame] | 23 | <version>3.12.950-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> |
| 56 | <version>1.1</version> |
| 57 | <executions> |
| 58 | <execution> |
| 59 | <phase>validate</phase> |
| 60 | <goals> |
| 61 | <goal>toolchain</goal> |
| 62 | </goals> |
| 63 | </execution> |
| 64 | </executions> |
| 65 | <configuration> |
| 66 | <toolchains> |
| 67 | <jdk> |
| 68 | <id>JavaSE-9</id> |
| 69 | </jdk> |
| 70 | </toolchains> |
| 71 | </configuration> |
| 72 | </plugin> |
| 73 | </plugins> |
| 74 | </build> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 75 | <properties> |
| 76 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine> |
| 77 | </properties> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 78 | </profile> |
Stephan Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 79 | <profile> |
| 80 | <id>test-on-javase-10</id> |
| 81 | <build> |
| 82 | <plugins> |
| 83 | <plugin> |
| 84 | <groupId>org.apache.maven.plugins</groupId> |
| 85 | <artifactId>maven-toolchains-plugin</artifactId> |
| 86 | <version>1.1</version> |
| 87 | <executions> |
| 88 | <execution> |
| 89 | <phase>validate</phase> |
| 90 | <goals> |
| 91 | <goal>toolchain</goal> |
| 92 | </goals> |
| 93 | </execution> |
| 94 | </executions> |
| 95 | <configuration> |
| 96 | <toolchains> |
| 97 | <jdk> |
| 98 | <id>JavaSE-10</id> |
| 99 | </jdk> |
| 100 | </toolchains> |
| 101 | </configuration> |
| 102 | </plugin> |
| 103 | </plugins> |
| 104 | </build> |
| 105 | <properties> |
| 106 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-10/configure --> |
| 107 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,10</tycho.surefire.argLine> |
| 108 | </properties> |
| 109 | </profile> |
Stephan Herrmann | a441c70 | 2018-10-14 17:51:04 +0200 | [diff] [blame] | 110 | <profile> |
| 111 | <id>test-on-javase-11</id> |
| 112 | <build> |
| 113 | <plugins> |
| 114 | <plugin> |
| 115 | <groupId>org.apache.maven.plugins</groupId> |
| 116 | <artifactId>maven-toolchains-plugin</artifactId> |
| 117 | <version>1.1</version> |
| 118 | <executions> |
| 119 | <execution> |
| 120 | <phase>validate</phase> |
| 121 | <goals> |
| 122 | <goal>toolchain</goal> |
| 123 | </goals> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | <configuration> |
| 127 | <toolchains> |
| 128 | <jdk> |
| 129 | <id>JavaSE-11</id> |
| 130 | </jdk> |
| 131 | </toolchains> |
| 132 | </configuration> |
| 133 | </plugin> |
| 134 | </plugins> |
| 135 | </build> |
| 136 | <properties> |
| 137 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-11/configure --> |
| 138 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,11</tycho.surefire.argLine> |
| 139 | </properties> |
| 140 | </profile> |
Stephan Herrmann | 7e648ad | 2019-03-21 15:13:29 +0100 | [diff] [blame] | 141 | <profile> |
| 142 | <id>test-on-javase-12</id> |
| 143 | <build> |
| 144 | <plugins> |
| 145 | <plugin> |
| 146 | <groupId>org.apache.maven.plugins</groupId> |
| 147 | <artifactId>maven-toolchains-plugin</artifactId> |
| 148 | <version>1.1</version> |
| 149 | <executions> |
| 150 | <execution> |
| 151 | <phase>validate</phase> |
| 152 | <goals> |
| 153 | <goal>toolchain</goal> |
| 154 | </goals> |
| 155 | </execution> |
| 156 | </executions> |
| 157 | <configuration> |
| 158 | <toolchains> |
| 159 | <jdk> |
| 160 | <id>JavaSE-12</id> |
| 161 | </jdk> |
| 162 | </toolchains> |
| 163 | </configuration> |
| 164 | </plugin> |
| 165 | </plugins> |
| 166 | </build> |
| 167 | <properties> |
| 168 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-12/configure --> |
| 169 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,12</tycho.surefire.argLine> |
| 170 | </properties> |
| 171 | </profile> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 172 | </profiles> |
| 173 | |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 174 | </project> |