From 1cb72169f934265255dbe4cb16fc672e7f2445dc Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Mon, 6 Jun 2016 15:01:31 +0300 Subject: [PATCH] KT-12512 "Different IDE and Maven plugin version" inspection is being invoked for non-tracked pom.xml files --- .../maven/inspections/SameVersionIDEPluginInspection.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/idea/idea-maven/src/org/jetbrains/kotlin/idea/maven/inspections/SameVersionIDEPluginInspection.kt b/idea/idea-maven/src/org/jetbrains/kotlin/idea/maven/inspections/SameVersionIDEPluginInspection.kt index ca7db5501f3..3ce7cda2a35 100644 --- a/idea/idea-maven/src/org/jetbrains/kotlin/idea/maven/inspections/SameVersionIDEPluginInspection.kt +++ b/idea/idea-maven/src/org/jetbrains/kotlin/idea/maven/inspections/SameVersionIDEPluginInspection.kt @@ -22,6 +22,7 @@ import com.intellij.util.xml.highlighting.DomElementAnnotationHolder import com.intellij.util.xml.highlighting.DomElementsInspection import org.jetbrains.idea.maven.dom.model.MavenDomPlugin import org.jetbrains.idea.maven.dom.model.MavenDomProjectModel +import org.jetbrains.idea.maven.project.MavenProjectsManager import org.jetbrains.kotlin.idea.maven.PomFile import org.jetbrains.kotlin.idea.versions.bundledRuntimeVersion @@ -33,6 +34,13 @@ class SameVersionIDEPluginInspection : DomElementsInspection createProblem(holder, plugin)