blob: ce350db6b3406983d869b2b8633ad2c0a2a6a2e0 [file] [log] [blame]
Stephan Herrmann415903e2012-05-26 15:53:02 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Stephan Herrmannfdc9d1a2017-03-26 17:35:22 +02003 Copyright (c) 2012, 2017 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.model</artifactId>
Stephan Herrmanne53c56e2019-07-06 21:03:57 +020023 <version>3.10.950-SNAPSHOT</version>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020024 <packaging>eclipse-test-plugin</packaging>
25
26 <properties>
27 <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars>
Stephan Herrmannd4cbc682016-10-28 20:51:00 +020028 <code.ignoredWarnings>-warn:+fieldHiding,-unavoidableGenericProblems</code.ignoredWarnings>
Stephan Herrmann4c6c5002013-09-12 23:09:47 +020029 </properties>
Stephan Herrmann918c05c2012-12-16 20:09:49 +010030
31 <build>
32 <plugins>
33 <plugin>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010034 <groupId>org.eclipse.tycho</groupId>
35 <artifactId>tycho-surefire-plugin</artifactId>
36 <version>${tycho.version}</version>
37 <configuration>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020038 <argLine>-Djdt.default.test.compliance=1.8 ${tycho.surefire.argLine}</argLine>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010039 <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 Herrmann918c05c2012-12-16 20:09:49 +010046 </plugins>
47 </build>
Stephan Herrmann3442b522018-01-25 21:18:41 +010048
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 Herrmann5e087fb2018-05-12 15:02:06 +020076 <properties>
77 <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine>
78 </properties>
Stephan Herrmann3442b522018-01-25 21:18:41 +010079 </profile>
Stephan Herrmanna441c702018-10-14 17:51:04 +020080 <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 Herrmannd0fe0622018-07-26 19:10:48 +0200113 <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 Herrmanna441c702018-10-14 17:51:04 +0200130 <id>JavaSE-11</id>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +0200131 </jdk>
132 </toolchains>
133 </configuration>
134 </plugin>
135 </plugins>
136 </build>
137 <properties>
Stephan Herrmanna441c702018-10-14 17:51:04 +0200138 <!-- 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 Herrmannd0fe0622018-07-26 19:10:48 +0200140 </properties>
141 </profile>
Stephan Herrmann7e648ad2019-03-21 15:13:29 +0100142 <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 Herrmann3442b522018-01-25 21:18:41 +0100173 </profiles>
174
Stephan Herrmann415903e2012-05-26 15:53:02 +0200175</project>