plugin/jps/src/main/kotlin/com/jetbrains/packagesearch/plugin/maven/MavenUtils.kt [47:58]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun VirtualFile.asRegularFile() = File(path) fun String.suffixIfNot(s: String) = if (endsWith(s)) this else this + s val mavenSettingsFilePath get() = System.getenv("M2_HOME") ?.let { Paths.get("$it/conf/settings.xml") } ?: Paths.get(System.getProperty("user.home").plus("/.m2/settings.xml")) val commonScopes = listOf("compile", "provided", "runtime", "test", "system", "import") val Project.mavenImportFlow get() = messageBus.flow(MavenImportListener.TOPIC) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - plugin/maven/src/main/kotlin/com/jetbrains/packagesearch/plugin/maven/MavenUtils.kt [58:69]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun VirtualFile.asRegularFile() = File(path) fun String.suffixIfNot(s: String) = if (endsWith(s)) this else this + s val mavenSettingsFilePath get() = System.getenv("M2_HOME") ?.let { Paths.get("$it/conf/settings.xml") } ?: Paths.get(System.getProperty("user.home").plus("/.m2/settings.xml")) val commonScopes = listOf("compile", "provided", "runtime", "test", "system", "import") val Project.mavenImportFlow get() = messageBus.flow(MavenImportListener.TOPIC) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -