From 8c5875a0bd37927675ec994a99fc39146db3affe Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Wed, 10 May 2023 15:13:36 +0200 Subject: [PATCH] [MPMD-373] System property java.version is overwritten in ITs as model property --- src/it/MPMD-270-325-JDK11/pom.xml | 8 ++++---- src/it/MPMD-280-JDK12/pom.xml | 8 ++++---- src/it/MPMD-295-JDK13/pom.xml | 8 ++++---- src/it/MPMD-302-JDK14/pom.xml | 8 ++++---- src/it/MPMD-302-JDK15/pom.xml | 8 ++++---- src/it/MPMD-304-toolchain-support/pom.xml | 10 +++++----- src/it/MPMD-312-JDK16/pom.xml | 8 ++++---- src/it/MPMD-312-JDK17/pom.xml | 8 ++++---- src/it/MPMD-332-JDK18/pom.xml | 8 ++++---- src/it/MPMD-348-JDK19/pom.xml | 10 +++++----- src/it/MPMD-365-JDK20/pom.xml | 10 +++++----- 11 files changed, 47 insertions(+), 47 deletions(-) diff --git a/src/it/MPMD-270-325-JDK11/pom.xml b/src/it/MPMD-270-325-JDK11/pom.xml index dfcd8e95..ac210b63 100644 --- a/src/it/MPMD-270-325-JDK11/pom.xml +++ b/src/it/MPMD-270-325-JDK11/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 11 + 11 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-280-JDK12/pom.xml b/src/it/MPMD-280-JDK12/pom.xml index 2e3e1130..7dcc733f 100644 --- a/src/it/MPMD-280-JDK12/pom.xml +++ b/src/it/MPMD-280-JDK12/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 12 + 12 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-295-JDK13/pom.xml b/src/it/MPMD-295-JDK13/pom.xml index ef34ae25..e3b58e4a 100644 --- a/src/it/MPMD-295-JDK13/pom.xml +++ b/src/it/MPMD-295-JDK13/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 14 + 14 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-302-JDK14/pom.xml b/src/it/MPMD-302-JDK14/pom.xml index 9631b05f..556f9f5e 100644 --- a/src/it/MPMD-302-JDK14/pom.xml +++ b/src/it/MPMD-302-JDK14/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 14 + 14 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-302-JDK15/pom.xml b/src/it/MPMD-302-JDK15/pom.xml index be97107b..119c1a0c 100644 --- a/src/it/MPMD-302-JDK15/pom.xml +++ b/src/it/MPMD-302-JDK15/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 15 + 15 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-304-toolchain-support/pom.xml b/src/it/MPMD-304-toolchain-support/pom.xml index 2cfd20ea..f4c9aac8 100644 --- a/src/it/MPMD-304-toolchain-support/pom.xml +++ b/src/it/MPMD-304-toolchain-support/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 11 + 11 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -53,7 +53,7 @@ under the License. false true - ${java.version} + ${javaVersion} 10 @@ -81,7 +81,7 @@ under the License. - ${java.version} + ${javaVersion} oracle diff --git a/src/it/MPMD-312-JDK16/pom.xml b/src/it/MPMD-312-JDK16/pom.xml index 342be2d6..06f97b07 100644 --- a/src/it/MPMD-312-JDK16/pom.xml +++ b/src/it/MPMD-312-JDK16/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 16 + 16 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-312-JDK17/pom.xml b/src/it/MPMD-312-JDK17/pom.xml index 36ff6fb8..b519c9b4 100644 --- a/src/it/MPMD-312-JDK17/pom.xml +++ b/src/it/MPMD-312-JDK17/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 17 + 17 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-332-JDK18/pom.xml b/src/it/MPMD-332-JDK18/pom.xml index 17a67883..76ff3fc7 100644 --- a/src/it/MPMD-332-JDK18/pom.xml +++ b/src/it/MPMD-332-JDK18/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 18 + 18 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 diff --git a/src/it/MPMD-348-JDK19/pom.xml b/src/it/MPMD-348-JDK19/pom.xml index a45886ca..693e2e4c 100644 --- a/src/it/MPMD-348-JDK19/pom.xml +++ b/src/it/MPMD-348-JDK19/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 19 + 19 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 @@ -84,7 +84,7 @@ under the License. - ${java.version} + ${javaVersion} openjdk diff --git a/src/it/MPMD-365-JDK20/pom.xml b/src/it/MPMD-365-JDK20/pom.xml index 99131f97..ccd918e7 100644 --- a/src/it/MPMD-365-JDK20/pom.xml +++ b/src/it/MPMD-365-JDK20/pom.xml @@ -28,7 +28,7 @@ under the License. UTF-8 - 20 + 20 @@ -39,8 +39,8 @@ under the License. maven-compiler-plugin @compilerPluginVersion@ - ${java.version} - ${java.version} + ${javaVersion} + ${javaVersion} @@ -57,7 +57,7 @@ under the License. true 4 true - ${java.version} + ${javaVersion} 100 @@ -84,7 +84,7 @@ under the License. - ${java.version} + ${javaVersion} openjdk