blob: a76daabc0837559fe0799cf7f002dd66502adfc0 [file] [log] [blame]
Stephan Herrmann415903e2012-05-26 15:53:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmanna1dd2df2017-12-05 20:11:07 +01003 Copyright (c) 2012, 2016 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 Herrmanne53c56e2019-07-06 21:03:57 +020018 <version>4.13.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 Herrmanne53c56e2019-07-06 21:03:57 +020023 <version>3.12.950-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>
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 Herrmann5e087fb2018-05-12 15:02:06 +020075 <properties>
76 <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine>
77 </properties>
Stephan Herrmann3442b522018-01-25 21:18:41 +010078 </profile>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +020079 <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 Herrmanna441c702018-10-14 17:51:04 +0200110 <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 Herrmann7e648ad2019-03-21 15:13:29 +0100141 <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 Herrmann3442b522018-01-25 21:18:41 +0100172 </profiles>
173
Stephan Herrmann415903e2012-05-26 15:53:02 +0200174</project>