diff --git a/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt b/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt
index a45074e20da..28d0af5b486 100644
--- a/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt
+++ b/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt
@@ -72,12 +72,6 @@ class KotlinVersionsTest : KtUsefulTestCase() {
?: error("No Kotlin-Version value in kotlinManifest.properties")
)
- versions.add(
- loadValueFromPomXml("libraries/pom.xml", listOf("project", "properties", "kotlin.language.version"))
- ?.toVersion("kotlin.language.version in pom.xml")
- ?: error("No kotlin.language.version in libraries/pom.xml")
- )
-
versions.add(
loadValueFromPomXml("libraries/pom.xml", listOf("project", "version"))
?.toVersion("version in pom.xml")
diff --git a/libraries/pom.xml b/libraries/pom.xml
index 8d11bee4035..9be7ebadbd1 100644
--- a/libraries/pom.xml
+++ b/libraries/pom.xml
@@ -53,8 +53,6 @@
${kotlin-dist}/kotlinc
${env.JDK_18}
- 1.1
-
1.6
1.6
diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-kotlin-version-in-manifest/src/main/kotlin/test.kt b/libraries/tools/kotlin-maven-plugin-test/src/it/test-kotlin-version-in-manifest/src/main/kotlin/test.kt
index 018cb44c386..339d170b079 100644
--- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-kotlin-version-in-manifest/src/main/kotlin/test.kt
+++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-kotlin-version-in-manifest/src/main/kotlin/test.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2017 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package test
import java.net.URL
@@ -55,7 +71,7 @@ fun main(args: Array) {
val incorrectVersionValues = versionValues.filterValues { it != KOTLIN_VERSION_VALUE }
if (incorrectVersionValues.isNotEmpty()) {
errors.appendln("Manifests at these locations do not have the correct value of the $KOTLIN_VERSION attribute ($KOTLIN_VERSION_VALUE). " +
- "Please ensure that kotlin.language.version in libraries/pom.xml corresponds to the value in kotlin.KotlinVersion:")
+ "Please ensure that kotlin_language_version in libraries/build.gradle corresponds to the value in kotlin.KotlinVersion:")
incorrectVersionValues.entries.joinTo(errors, "\n", transform = ::renderEntry)
errors.appendln()
errors.appendln()