blob: f9bdb5f2e6e68cdc64c0202e187ad10864a05fac [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 Herrmannd0fe0622018-07-26 19:10:48 +020018 <version>4.9.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 Herrmannd0fe0622018-07-26 19:10:48 +020023 <version>3.12.600-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>
40 </includes>
Stephan Herrmann5e087fb2018-05-12 15:02:06 +020041 <argLine>${tycho.surefire.argLine}</argLine>
Stephan Herrmann7941b7c2013-11-03 16:07:28 +010042 </configuration>
43 </plugin>
44 </plugins>
45 </build>
46
Stephan Herrmann3442b522018-01-25 21:18:41 +010047 <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 Herrmann5e087fb2018-05-12 15:02:06 +020074 <properties>
75 <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine>
76 </properties>
Stephan Herrmann3442b522018-01-25 21:18:41 +010077 </profile>
Stephan Herrmannd0fe0622018-07-26 19:10:48 +020078 <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 Herrmann3442b522018-01-25 21:18:41 +0100109 </profiles>
110
Stephan Herrmann415903e2012-05-26 15:53:02 +0200111</project>