| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2012, 2023 Eclipse Foundation and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Distribution License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/org/documents/edl-v10.php |
| |
| Contributors: |
| Igor Fedorenko - initial implementation |
| Mickael Istria (Red Hat Inc.) - 416912: tycho-surefire-plugin configuration |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>tests-pom</artifactId> |
| <groupId>org.eclipse.jdt</groupId> |
| <version>4.28.0-SNAPSHOT</version> |
| <relativePath>../tests-pom/</relativePath> |
| </parent> |
| <artifactId>org.eclipse.jdt.core.tests.compiler</artifactId> |
| <version>3.13.0-SNAPSHOT</version> |
| <packaging>eclipse-test-plugin</packaging> |
| |
| <properties> |
| <defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>org/eclipse/jdt/core/tests/compiler/parser/TestAll.class</include> |
| <include>org/eclipse/jdt/core/tests/compiler/regression/TestAll.class</include> |
| <include>org/eclipse/jdt/core/tests/eval/TestAll.class</include> |
| </includes> |
| <argLine>${tycho.surefire.argLine}</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>test-on-javase-17</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-toolchains-plugin</artifactId> |
| <configuration> |
| <toolchains> |
| <jdk> |
| <id>JavaSE-17</id> |
| </jdk> |
| </toolchains> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,14,17</tycho.surefire.argLine> |
| </properties> |
| </profile> |
| <profile> |
| <id>test-on-javase-18</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-toolchains-plugin</artifactId> |
| <configuration> |
| <toolchains> |
| <jdk> |
| <id>JavaSE-18</id> |
| </jdk> |
| </toolchains> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,15,18</tycho.surefire.argLine> |
| </properties> |
| </profile> |
| <profile> |
| <id>test-on-javase-19</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-toolchains-plugin</artifactId> |
| <configuration> |
| <toolchains> |
| <jdk> |
| <id>JavaSE-19</id> |
| </jdk> |
| </toolchains> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,17,19</tycho.surefire.argLine> |
| </properties> |
| </profile> |
| <profile> |
| <id>test-on-javase-20</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-toolchains-plugin</artifactId> |
| <configuration> |
| <toolchains> |
| <jdk> |
| <id>JavaSE-20</id> |
| </jdk> |
| </toolchains> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.4,1.7,1.8,17,20</tycho.surefire.argLine> |
| </properties> |
| </profile> |
| </profiles> |
| |
| </project> |