diff --git a/org.eclipse.xtend.maven.archetype/src/main/resources/archetype-resources/pom.xml b/org.eclipse.xtend.maven.archetype/src/main/resources/archetype-resources/pom.xml
index 66703255965..23910219b24 100644
--- a/org.eclipse.xtend.maven.archetype/src/main/resources/archetype-resources/pom.xml
+++ b/org.eclipse.xtend.maven.archetype/src/main/resources/archetype-resources/pom.xml
@@ -10,8 +10,7 @@
${project.version}
${sourceEncoding}
- ${javaVersion}
- ${javaVersion}
+ ${javaVersion}
diff --git a/org.eclipse.xtend.maven.parent/pom.xml b/org.eclipse.xtend.maven.parent/pom.xml
index d61068f0d11..3c9a6eb3a55 100644
--- a/org.eclipse.xtend.maven.parent/pom.xml
+++ b/org.eclipse.xtend.maven.parent/pom.xml
@@ -22,8 +22,7 @@
ISO-8859-1
ISO-8859-1
- 21
- 21
+ 21
false
diff --git a/org.eclipse.xtend.maven.plugin/src/test/resources/it/compile/simple-java25/pom.xml b/org.eclipse.xtend.maven.plugin/src/test/resources/it/compile/simple-java25/pom.xml
index 0cbd5db6a80..194fbaab60a 100644
--- a/org.eclipse.xtend.maven.plugin/src/test/resources/it/compile/simple-java25/pom.xml
+++ b/org.eclipse.xtend.maven.plugin/src/test/resources/it/compile/simple-java25/pom.xml
@@ -10,8 +10,7 @@
simple-java25
- 25
- 25
+ 21
diff --git a/org.eclipse.xtext.tests/src/org/eclipse/xtext/xtext/wizard/WizardConfigurationTest.java b/org.eclipse.xtext.tests/src/org/eclipse/xtext/xtext/wizard/WizardConfigurationTest.java
index db0e5a90231..cefa635fa65 100644
--- a/org.eclipse.xtext.tests/src/org/eclipse/xtext/xtext/wizard/WizardConfigurationTest.java
+++ b/org.eclipse.xtext.tests/src/org/eclipse/xtext/xtext/wizard/WizardConfigurationTest.java
@@ -75,7 +75,7 @@ public void p2AndSdkProjectsAreBuiltWithTychoWhenMavenBuiltIsEnabled() {
assertTrue(config.getP2Project().pom().getContent().contains("eclipse-repository"));
assertTrue(config.getParentProject().pom().getContent().contains("tycho"));
}
-
+
@Test
public void p2ProjectsEnablesSourceGenerationWithTychoWhenMavenBuiltIsEnabled() {
config.getUiProject().setEnabled(true);
@@ -351,8 +351,7 @@ public void tychoDoesNotFailOnMissingTests() {
@Test
public void allBuildSystemsUseJava21() {
String parentPom = config.getParentProject().pom().getContent();
- assertTrue(parentPom.contains("21"));
- assertTrue(parentPom.contains("21"));
+ assertTrue(parentPom.contains("21"));
String parentGradle = config.getParentProject().buildGradle().getContent();
assertTrue(parentGradle.contains("sourceCompatibility = JavaVersion.VERSION_21"));
assertTrue(parentGradle.contains("targetCompatibility = JavaVersion.VERSION_21"));
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/full/full.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/full/full.parent/pom.xml
index 4a85b98d96b..16839a0035e 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/full/full.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/full/full.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 21
- 21
+ 21
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenApp/lsMavenApp.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenApp/lsMavenApp.parent/pom.xml
index 7d4213d1c70..613daff70eb 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenApp/lsMavenApp.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenApp/lsMavenApp.parent/pom.xml
@@ -9,8 +9,7 @@
unspecified
UTF-8
- 21
- 21
+ 21
lsMavenApp
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenFatjar/lsMavenFatjar.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenFatjar/lsMavenFatjar.parent/pom.xml
index 678d3e29c09..b9026abb481 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenFatjar/lsMavenFatjar.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenFatjar/lsMavenFatjar.parent/pom.xml
@@ -9,8 +9,7 @@
unspecified
UTF-8
- 21
- 21
+ 21
lsMavenFatjar
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoApp/lsMavenTychoApp.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoApp/lsMavenTychoApp.parent/pom.xml
index e1581462948..9104026ea49 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoApp/lsMavenTychoApp.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoApp/lsMavenTychoApp.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 21
- 21
+ 21
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoFatjar/lsMavenTychoFatjar.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoFatjar/lsMavenTychoFatjar.parent/pom.xml
index e1cc3c3dbe2..35e6b50b704 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoFatjar/lsMavenTychoFatjar.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/lsMavenTychoFatjar/lsMavenTychoFatjar.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 21
- 21
+ 21
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTycho/mavenTycho.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTycho/mavenTycho.parent/pom.xml
index c276939409b..a58a539c9ba 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTycho/mavenTycho.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTycho/mavenTycho.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 21
- 21
+ 21
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoJUnit5/mavenTychoJUnit5.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoJUnit5/mavenTychoJUnit5.parent/pom.xml
index 980ae7d6472..bec94807c41 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoJUnit5/mavenTychoJUnit5.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoJUnit5/mavenTychoJUnit5.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 21
- 21
+ 21
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2/mavenTychoP2.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2/mavenTychoP2.parent/pom.xml
index 1ab0e0fdc4f..593992e08c6 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2/mavenTychoP2.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2/mavenTychoP2.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 21
- 21
+ 21
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2J25/mavenTychoP2J25.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2J25/mavenTychoP2J25.parent/pom.xml
index cbafda637c7..b9075d0db70 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2J25/mavenTychoP2J25.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/mavenTychoP2J25/mavenTychoP2J25.parent/pom.xml
@@ -10,8 +10,7 @@
unspecified
2.25.0
UTF-8
- 25
- 25
+ 25
5.0.2
diff --git a/org.eclipse.xtext.tests/testdata/wizard-expectations/plainMaven/plainMaven.parent/pom.xml b/org.eclipse.xtext.tests/testdata/wizard-expectations/plainMaven/plainMaven.parent/pom.xml
index e1063e44a22..d89a00fc4ab 100644
--- a/org.eclipse.xtext.tests/testdata/wizard-expectations/plainMaven/plainMaven.parent/pom.xml
+++ b/org.eclipse.xtext.tests/testdata/wizard-expectations/plainMaven/plainMaven.parent/pom.xml
@@ -9,8 +9,7 @@
unspecified
UTF-8
- 21
- 21
+ 21
plainMaven
diff --git a/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.releng/pom.xml b/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.releng/pom.xml
index fe9ce98a2f3..cc2fcccb559 100644
--- a/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.releng/pom.xml
+++ b/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.releng/pom.xml
@@ -18,8 +18,7 @@
UTF-8
- 21
- 21
+ 21
5.0.2
${project.groupId}
diff --git a/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.xtend b/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.xtend
index d72052c0e48..7c7ca307a40 100644
--- a/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.xtend
+++ b/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.xtend
@@ -219,8 +219,7 @@ class ParentProjectDescriptor extends ProjectDescriptor {
«config.xtextVersion.mweVersion»
«ENDIF»
«config.encoding»
- «javaVersion»
- «javaVersion»
+ «javaVersion»
«IF config.needsTychoBuild»
«tychoVersion»
diff --git a/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.java b/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.java
index f2fc019f630..346080ba14b 100644
--- a/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.java
+++ b/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/ParentProjectDescriptor.java
@@ -559,16 +559,10 @@ public PomFile pom() {
_builder.append("");
_builder.newLineIfNotEmpty();
_builder.append("\t");
- _builder.append("");
+ _builder.append("");
String _javaVersion = this.getJavaVersion();
_builder.append(_javaVersion, "\t");
- _builder.append("");
- _builder.newLineIfNotEmpty();
- _builder.append("\t");
- _builder.append("");
- String _javaVersion_1 = this.getJavaVersion();
- _builder.append(_javaVersion_1, "\t");
- _builder.append("");
+ _builder.append("");
_builder.newLineIfNotEmpty();
{
boolean _needsTychoBuild_1 = this.getConfig().needsTychoBuild();
diff --git a/pom.xml b/pom.xml
index de7337e94eb..e5966922a6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,9 +128,6 @@
5.0.2
21
- ${maven.compiler.release}
- ${maven.compiler.release}
-
false
3.3.0