diff options
author | Stephan Herrmann | 2018-07-03 17:06:39 +0000 |
---|---|---|
committer | Stephan Herrmann | 2018-07-03 17:07:26 +0000 |
commit | d085cd20735f66ade3a4d90cf42f6fc2203e9f42 (patch) | |
tree | f7f862b5ad866f667dea5b3646c5786b707f55e8 /org.eclipse.jdt.core.tests.compiler/pom.xml | |
parent | 1a47655c647676cb31b0397f8d52c44f4fb018c4 (diff) | |
download | eclipse.jdt.core-d085cd20735f66ade3a4d90cf42f6fc2203e9f42.tar.gz eclipse.jdt.core-d085cd20735f66ade3a4d90cf42f6fc2203e9f42.tar.xz eclipse.jdt.core-d085cd20735f66ade3a4d90cf42f6fc2203e9f42.zip |
Bug 404648 - [1.8][compiler] investigate differences between ECJ & Javac
- prepare running tests on JDK 10 and against javac10
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/pom.xml')
-rw-r--r-- | org.eclipse.jdt.core.tests.compiler/pom.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/pom.xml b/org.eclipse.jdt.core.tests.compiler/pom.xml index 61426f1a9f..ecc9809620 100644 --- a/org.eclipse.jdt.core.tests.compiler/pom.xml +++ b/org.eclipse.jdt.core.tests.compiler/pom.xml @@ -75,6 +75,36 @@ <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine> </properties> </profile> + <profile> + <id>test-on-javase-10</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-toolchains-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>toolchain</goal> + </goals> + </execution> + </executions> + <configuration> + <toolchains> + <jdk> + <id>JavaSE-10</id> + </jdk> + </toolchains> + </configuration> + </plugin> + </plugins> + </build> + <properties> + <tycho.surefire.argLine>--add-modules ALL-SYSTEM</tycho.surefire.argLine> + </properties> + </profile> </profiles> </project> |