diff --git a/plugins/maven/src/test/java/org/jetbrains/idea/maven/importing/MavenPluginResolutionTest.kt b/plugins/maven/src/test/java/org/jetbrains/idea/maven/importing/MavenPluginResolutionTest.kt new file mode 100644 index 000000000000..d93e921d3c7c --- /dev/null +++ b/plugins/maven/src/test/java/org/jetbrains/idea/maven/importing/MavenPluginResolutionTest.kt @@ -0,0 +1,30 @@ +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package org.jetbrains.idea.maven.importing + +import com.intellij.maven.testFramework.MavenMultiVersionImportingTestCase +import kotlinx.coroutines.runBlocking +import org.junit.Test + +class MavenPluginResolutionTest : MavenMultiVersionImportingTestCase() { + @Test + fun `test resolve bundle packaging plugin versions`() = runBlocking { + importProjectAsync(""" + test + project + 1 + bundle + + + + true + org.apache.felix + maven-bundle-plugin + 5.1.8 + + + + """.trimIndent()) + assertEquals(1, projectsTree.projects.size) + assertEmpty(projectsTree.projects.first().problems) + } +} \ No newline at end of file