From bc5aa705990c96525c888aeb5efb0c20ddb3e1e6 Mon Sep 17 00:00:00 2001 From: Christian Dietrich Date: Fri, 7 Oct 2022 07:37:43 +0200 Subject: [PATCH] [eclipse/xtext#1982] support for java 17 Signed-off-by: Christian Dietrich --- Jenkinsfile | 2 +- .../org.eclipse.xtext.parent.launch | 2 +- org.eclipse.xtext.maven.parent/pom.xml | 6 +++--- org.eclipse.xtext.maven.plugin/.classpath | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +++--- .../src/test/resources/it/generate/pom.xml | 6 +++--- .../resources/it/generate/xcore-mapping/sample.emf/pom.xml | 1 + 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 09011094..dbb63060 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,7 @@ pipeline { parameters { // see https://wiki.eclipse.org/Jenkins#JDK choice(name: 'JDK_VERSION', description: 'Which JDK should be used?', choices: [ - 'temurin-jdk8-latest', 'temurin-jdk11-latest', 'temurin-jdk17-latest' + 'temurin-jdk11-latest', 'temurin-jdk17-latest' ]) } diff --git a/org.eclipse.xtext.maven.parent/org.eclipse.xtext.parent.launch b/org.eclipse.xtext.maven.parent/org.eclipse.xtext.parent.launch index d713dc5f..9e39a3df 100644 --- a/org.eclipse.xtext.maven.parent/org.eclipse.xtext.parent.launch +++ b/org.eclipse.xtext.maven.parent/org.eclipse.xtext.parent.launch @@ -17,6 +17,6 @@ - + diff --git a/org.eclipse.xtext.maven.parent/pom.xml b/org.eclipse.xtext.maven.parent/pom.xml index f2603ff0..ee9925c7 100644 --- a/org.eclipse.xtext.maven.parent/pom.xml +++ b/org.eclipse.xtext.maven.parent/pom.xml @@ -11,13 +11,13 @@ ${basedir}/.. 3.6.0 - 1.7.0 + 2.7.5 2.20.0 ISO-8859-1 ISO-8859-1 - 1.8 - 1.8 + 11 + 11 false master diff --git a/org.eclipse.xtext.maven.plugin/.classpath b/org.eclipse.xtext.maven.plugin/.classpath index 382ad7c9..caf8111e 100644 --- a/org.eclipse.xtext.maven.plugin/.classpath +++ b/org.eclipse.xtext.maven.plugin/.classpath @@ -19,7 +19,7 @@ - + diff --git a/org.eclipse.xtext.maven.plugin/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.xtext.maven.plugin/.settings/org.eclipse.jdt.core.prefs index 672496e1..50c431bd 100644 --- a/org.eclipse.xtext.maven.plugin/.settings/org.eclipse.jdt.core.prefs +++ b/org.eclipse.xtext.maven.plugin/.settings/org.eclipse.jdt.core.prefs @@ -1,12 +1,12 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.compliance=11 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.source=11 diff --git a/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/pom.xml b/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/pom.xml index 544856c2..dcb69db4 100644 --- a/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/pom.xml +++ b/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/pom.xml @@ -11,10 +11,10 @@ master https://ci.eclipse.org/xtext UTF-8 - 1.8 - 1.8 + 11 + 11 2.29.0-SNAPSHOT - 1.7.0 + 2.7.5 3.6.100 3.12.0 3.13.0 diff --git a/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/xcore-mapping/sample.emf/pom.xml b/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/xcore-mapping/sample.emf/pom.xml index 57af7949..61ba885f 100644 --- a/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/xcore-mapping/sample.emf/pom.xml +++ b/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/xcore-mapping/sample.emf/pom.xml @@ -65,6 +65,7 @@ + 1.8