[kotlin] KTIJ-16504, IDEA-384711 Use ${kotlin.version} property for kotlin-maven-plugin too

GitOrigin-RevId: 799af722fde85d1916d3af9093bc011504a4faa8
This commit is contained in:
Victoria Petrakovich
2026-02-03 21:06:04 +00:00
committed by intellij-monorepo-bot
parent 5f9f3b7946
commit 97bc01da04
9 changed files with 8 additions and 9 deletions
@@ -312,7 +312,6 @@ class MavenNewKotlinModuleTest : MavenNewProjectWizardTestCase(), NewKotlinProje
override fun substituteArtifactsVersions(str: String): String {
var result = str
result = substituteVersionForArtifact(result, "kotlin-maven-plugin", needMoreSpaces = true)
result = substituteVersionForArtifact(result, "maven-surefire-plugin", needMoreSpaces = true)
result = substituteVersionForArtifact(result, "maven-failsafe-plugin", needMoreSpaces = true)
result = substituteVersionForArtifact(result, "junit-jupiter")
@@ -33,7 +33,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -33,7 +33,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -29,7 +29,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -32,7 +32,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -29,7 +29,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -29,7 +29,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -33,7 +33,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>VERSION</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
@@ -41,7 +41,7 @@
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
#if (${INHERIT_MAVEN_KOTLIN_PLUGIN_VERSION} == false)
<version>${KOTLIN_PLUGIN_WIZARD_VERSION}</version>
<version>$${kotlin.version}</version>
#end
<executions>
<execution>