diff --git a/libraries/tools/kotlin-maven-plugin-test/pom.xml b/libraries/tools/kotlin-maven-plugin-test/pom.xml
index f0f2262ea70..03eebe9f511 100644
--- a/libraries/tools/kotlin-maven-plugin-test/pom.xml
+++ b/libraries/tools/kotlin-maven-plugin-test/pom.xml
@@ -146,6 +146,9 @@
verify
false
invoker.properties
+
+ ${project.version}
+
diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/expected.log b/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/expected.log
index 9df2352dfd5..2d756030e90 100644
--- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/expected.log
+++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/expected.log
@@ -1,8 +1,8 @@
[INFO] Kotlin Compiler version @snapshot@
[INFO] Compiling Kotlin sources from [/test-extension/src/main/kotlin]
[INFO] Module name is test-extension
-[WARNING] Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version @snapshot@ the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
-[WARNING] /local-repo/org/jetbrains/kotlin/kotlin-compiler/1.1-SNAPSHOT/kotlin-compiler-1.1-SNAPSHOT.jar: (-1, -1) Library has Kotlin runtime bundled into it
+[WARNING] Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
+[WARNING] /local-repo/org/jetbrains/kotlin/kotlin-compiler/@snapshot@/kotlin-compiler-@snapshot@.jar: (-1, -1) Library has Kotlin runtime bundled into it
[INFO] Kotlin Compiler version @snapshot@
[WARNING] No sources found skipping Kotlin compile
[INFO] Kotlin Compiler version @snapshot@
diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/verify.groovy b/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/verify.groovy
index ebf754989c0..867777c607f 100644
--- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/verify.groovy
+++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-plugins/verify.groovy
@@ -38,7 +38,7 @@ State state = buildLogFile.readLines().collect { it.replaceAll("\\u001b[^m]*m",
replaceAll(/[0-9]+\s*ms/, "LLL ms").
trim().
replaceAll(/^\[[A-Z]+\]$/, "").
- replaceAll(/version [0-9a-z-+\.]+/, "version @snapshot@")
+ replace(kotlinVersion, "@snapshot@")
if (filtered != "") {
acc.lines << filtered