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 | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 18 | <version>4.9.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 | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 23 | <version>3.12.600-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> |
| 40 | </includes> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 41 | <argLine>${tycho.surefire.argLine}</argLine> |
Stephan Herrmann | 7941b7c | 2013-11-03 16:07:28 +0100 | [diff] [blame] | 42 | </configuration> |
| 43 | </plugin> |
| 44 | </plugins> |
| 45 | </build> |
| 46 | |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 47 | <profiles> |
| 48 | <profile> |
| 49 | <id>test-on-javase-9</id> |
| 50 | <build> |
| 51 | <plugins> |
| 52 | <plugin> |
| 53 | <groupId>org.apache.maven.plugins</groupId> |
| 54 | <artifactId>maven-toolchains-plugin</artifactId> |
| 55 | <version>1.1</version> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <phase>validate</phase> |
| 59 | <goals> |
| 60 | <goal>toolchain</goal> |
| 61 | </goals> |
| 62 | </execution> |
| 63 | </executions> |
| 64 | <configuration> |
| 65 | <toolchains> |
| 66 | <jdk> |
| 67 | <id>JavaSE-9</id> |
| 68 | </jdk> |
| 69 | </toolchains> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | </plugins> |
| 73 | </build> |
Stephan Herrmann | 5e087fb | 2018-05-12 15:02:06 +0200 | [diff] [blame] | 74 | <properties> |
| 75 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine> |
| 76 | </properties> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 77 | </profile> |
Stephan Herrmann | d0fe062 | 2018-07-26 19:10:48 +0200 | [diff] [blame] | 78 | <profile> |
| 79 | <id>test-on-javase-10</id> |
| 80 | <build> |
| 81 | <plugins> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
| 84 | <artifactId>maven-toolchains-plugin</artifactId> |
| 85 | <version>1.1</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <phase>validate</phase> |
| 89 | <goals> |
| 90 | <goal>toolchain</goal> |
| 91 | </goals> |
| 92 | </execution> |
| 93 | </executions> |
| 94 | <configuration> |
| 95 | <toolchains> |
| 96 | <jdk> |
| 97 | <id>JavaSE-10</id> |
| 98 | </jdk> |
| 99 | </toolchains> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | </plugins> |
| 103 | </build> |
| 104 | <properties> |
| 105 | <!-- Overridden in https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-10/configure --> |
| 106 | <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,10</tycho.surefire.argLine> |
| 107 | </properties> |
| 108 | </profile> |
Stephan Herrmann | 3442b52 | 2018-01-25 21:18:41 +0100 | [diff] [blame] | 109 | </profiles> |
| 110 | |
Stephan Herrmann | 415903e | 2012-05-26 15:53:02 +0200 | [diff] [blame] | 111 | </project> |