blob: 0c2790c9d9167c7c43fe0d2655dfd16ef7bf3165 [file] [log] [blame]
Stephan Herrmann415903e2012-05-26 15:53:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmanne62383a2023-03-30 19:58:28 +02003 Copyright (c) 2012, 2023 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 Herrmanne8828ac2022-02-11 21:14:44 +010017 <groupId>org.eclipse.jdt</groupId>
Stephan Herrmanndb1b02a2023-03-30 17:48:39 +020018 <version>4.28.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 Herrmann415903e2012-05-26 15:53:02 +020021 <artifactId>org.eclipse.jdt.core.tests.compiler</artifactId>
Stephan Herrmanna4bf2a32023-03-30 20:14:00 +020022 <version>3.13.0-SNAPSHOT</version>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020023 <packaging>eclipse-test-plugin</packaging>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010024
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020025 <properties>
26 <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars>
27 </properties>
28
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010029 <build>
30 <plugins>
31 <plugin>
32 <groupId>org.eclipse.tycho</groupId>
33 <artifactId>tycho-surefire-plugin</artifactId>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010034 <configuration>
35 <includes>
36 <include>org/eclipse/jdt/core/tests/compiler/parser/TestAll.class</include>
37 <include>org/eclipse/jdt/core/tests/compiler/regression/TestAll.class</include>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +010038 <include>org/eclipse/jdt/core/tests/eval/TestAll.class</include>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010039 </includes>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020040 <argLine>${tycho.surefire.argLine}</argLine>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010041 </configuration>
42 </plugin>
43 </plugins>
44 </build>
45
Stephan Herrmann3442b522018-01-25 21:18:41 +010046 <profiles>
47 <profile>
Stephan Herrmann48090d62021-09-11 22:01:12 +020048 <id>test-on-javase-17</id>
49 <build>
50 <plugins>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann48090d62021-09-11 22:01:12 +020054 <configuration>
55 <toolchains>
56 <jdk>
57 <id>JavaSE-17</id>
58 </jdk>
59 </toolchains>
60 </configuration>
61 </plugin>
62 </plugins>
63 </build>
64 <properties>
65 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,14,17</tycho.surefire.argLine>
66 </properties>
67 </profile>
Stephan Herrmann2352c112022-04-03 01:28:41 +020068 <profile>
69 <id>test-on-javase-18</id>
70 <build>
71 <plugins>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-toolchains-plugin</artifactId>
Stephan Herrmann2352c112022-04-03 01:28:41 +020075 <configuration>
76 <toolchains>
77 <jdk>
78 <id>JavaSE-18</id>
79 </jdk>
80 </toolchains>
81 </configuration>
82 </plugin>
83 </plugins>
84 </build>
85 <properties>
86 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,15,18</tycho.surefire.argLine>
87 </properties>
88 </profile>
Stephan Herrmannb1453352022-11-17 19:21:57 +010089 <profile>
90 <id>test-on-javase-19</id>
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-toolchains-plugin</artifactId>
96 <configuration>
97 <toolchains>
98 <jdk>
99 <id>JavaSE-19</id>
100 </jdk>
101 </toolchains>
102 </configuration>
103 </plugin>
104 </plugins>
105 </build>
106 <properties>
107 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,17,19</tycho.surefire.argLine>
108 </properties>
109 </profile>
Stephan Herrmanne62383a2023-03-30 19:58:28 +0200110 <profile>
111 <id>test-on-javase-20</id>
112 <build>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-toolchains-plugin</artifactId>
117 <configuration>
118 <toolchains>
119 <jdk>
120 <id>JavaSE-20</id>
121 </jdk>
122 </toolchains>
123 </configuration>
124 </plugin>
125 </plugins>
126 </build>
127 <properties>
128 <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,17,20</tycho.surefire.argLine>
129 </properties>
130 </profile>
Stephan Herrmann3442b522018-01-25 21:18:41 +0100131 </profiles>
132
Stephan Herrmann415903e2012-05-26 15:53:02 +0200133</project>