Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Stephan Herrmann | fdc9d1a | 2017-03-26 17:35:22 +0200 | [diff] [blame] | 3 | Copyright (c) 2012, 2017 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.model</artifactId> |
Stephan Herrmann | e53c56e | 2019-07-06 21:03:57 +0200 | [diff] [blame] | 23 | <version>3.10.950-SNAPSHOT</version> |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 24 | <packaging>eclipse-test-plugin</packaging> |
| 25 | |
| 26 | <properties> |
| 27 | <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars> |
Stephan Herrmann | d4cbc68 | 2016-10-28 20:51:00 +0200 | [diff] [blame] | 28 | <code.ignoredWarnings>-warn:+fieldHiding,-unavoidableGenericProblems</code.ignoredWarnings> |
Stephan Herrmann | 4c6c500 | 2013-09-12 23:09:47 +0200 | [diff] [blame] | 29 | </properties> |
Stephan Herrmann | 918c05c | 2012-12-16 20:09:49 +0100 | [diff] [blame] | 30 | |
| 31 | <build> |
| 32 | <plugins> |
| 33 | <plugin> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 34 | <groupId>org.eclipse.tycho</groupId> |
| 35 | <artifactId>tycho-surefire-plugin</artifactId> |
| 36 | <version>${tycho.version}</version> |
| 37 | <configuration> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 38 | <argLine>-Djdt.default.test.compliance=1.8 ${tycho.surefire.argLine}</argLine> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 39 | <includes> |
| 40 | <include>org/eclipse/jdt/core/tests/model/AllJavaModelTests.class</include> |
| 41 | <include>org/eclipse/jdt/core/tests/dom/RunAllTests.class</include> |
| 42 | <include>org/eclipse/jdt/core/tests/RunFormatterTests.class</include> |
| 43 | </includes> |
| 44 | </configuration> |
| 45 | </plugin> |
Stephan Herrmann | 918c05c | 2012-12-16 20:09:49 +0100 | [diff] [blame] | 46 | </plugins> |
| 47 | </build> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 48 | |
| 49 | <profiles> |
| 50 | <profile> |
| 51 | <id>test-on-javase-9</id> |
| 52 | <build> |
| 53 | <plugins> |
| 54 | <plugin> |
| 55 | <groupId>org.apache.maven.plugins</groupId> |
| 56 | <artifactId>maven-toolchains-plugin</artifactId> |
| 57 | <version>1.1</version> |
| 58 | <executions> |
| 59 | <execution> |
| 60 | <phase>validate</phase> |
| 61 | <goals> |
| 62 | <goal>toolchain</goal> |
| 63 | </goals> |
| 64 | </execution> |
| 65 | </executions> |
| 66 | <configuration> |
| 67 | <toolchains> |
| 68 | <jdk> |
| 69 | <id>JavaSE-9</id> |
| 70 | </jdk> |
| 71 | </toolchains> |
| 72 | </configuration> |
| 73 | </plugin> |
| 74 | </plugins> |
| 75 | </build> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 76 | <properties> |
| 77 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine> |
| 78 | </properties> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 79 | </profile> |
Stephan Herrmann | a441c70 | 2018-10-14 17:51:04 +0200 | [diff] [blame] | 80 | <profile> |
| 81 | <id>test-on-javase-10</id> |
| 82 | <build> |
| 83 | <plugins> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.maven.plugins</groupId> |
| 86 | <artifactId>maven-toolchains-plugin</artifactId> |
| 87 | <version>1.1</version> |
| 88 | <executions> |
| 89 | <execution> |
| 90 | <phase>validate</phase> |
| 91 | <goals> |
| 92 | <goal>toolchain</goal> |
| 93 | </goals> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | <configuration> |
| 97 | <toolchains> |
| 98 | <jdk> |
| 99 | <id>JavaSE-10</id> |
| 100 | </jdk> |
| 101 | </toolchains> |
| 102 | </configuration> |
| 103 | </plugin> |
| 104 | </plugins> |
| 105 | </build> |
| 106 | <properties> |
| 107 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-10/configure --> |
| 108 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,10</tycho.surefire.argLine> |
| 109 | </properties> |
| 110 | </profile> |
| 111 | <profile> |
| 112 | <id>test-on-javase-11</id> |
Stephan Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 113 | <build> |
| 114 | <plugins> |
| 115 | <plugin> |
| 116 | <groupId>org.apache.maven.plugins</groupId> |
| 117 | <artifactId>maven-toolchains-plugin</artifactId> |
| 118 | <version>1.1</version> |
| 119 | <executions> |
| 120 | <execution> |
| 121 | <phase>validate</phase> |
| 122 | <goals> |
| 123 | <goal>toolchain</goal> |
| 124 | </goals> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | <configuration> |
| 128 | <toolchains> |
| 129 | <jdk> |
Stephan Herrmann | a441c70 | 2018-10-14 17:51:04 +0200 | [diff] [blame] | 130 | <id>JavaSE-11</id> |
Stephan Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 131 | </jdk> |
| 132 | </toolchains> |
| 133 | </configuration> |
| 134 | </plugin> |
| 135 | </plugins> |
| 136 | </build> |
| 137 | <properties> |
Stephan Herrmann | a441c70 | 2018-10-14 17:51:04 +0200 | [diff] [blame] | 138 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-11/configure --> |
| 139 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,11</tycho.surefire.argLine> |
Stephan Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 140 | </properties> |
| 141 | </profile> |
Stephan Herrmann | 7e648ad | 2019-03-21 15:13:29 +0100 | [diff] [blame] | 142 | <profile> |
| 143 | <id>test-on-javase-12</id> |
| 144 | <build> |
| 145 | <plugins> |
| 146 | <plugin> |
| 147 | <groupId>org.apache.maven.plugins</groupId> |
| 148 | <artifactId>maven-toolchains-plugin</artifactId> |
| 149 | <version>1.1</version> |
| 150 | <executions> |
| 151 | <execution> |
| 152 | <phase>validate</phase> |
| 153 | <goals> |
| 154 | <goal>toolchain</goal> |
| 155 | </goals> |
| 156 | </execution> |
| 157 | </executions> |
| 158 | <configuration> |
| 159 | <toolchains> |
| 160 | <jdk> |
| 161 | <id>JavaSE-12</id> |
| 162 | </jdk> |
| 163 | </toolchains> |
| 164 | </configuration> |
| 165 | </plugin> |
| 166 | </plugins> |
| 167 | </build> |
| 168 | <properties> |
| 169 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-12/configure --> |
| 170 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,12</tycho.surefire.argLine> |
| 171 | </properties> |
| 172 | </profile> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 173 | </profiles> |
| 174 | |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 175 | </project> |