[maven] IDEA-391876 MavenImportingTestCase#setUp() declaration conflicts with MavenTestCase#setUp()

(cherry picked from commit 06926e00d748f521db06a0bb70137c59df1205c1)

IJ-CR-217089

GitOrigin-RevId: c6db1b467c87955805915abb26e012abd21bab2e
This commit is contained in:
Dmitry Kichinsky
2026-08-06 17:14:31 +00:00
committed by intellij-monorepo-bot
parent 896e2014ab
commit 61ac6a76df
@@ -189,7 +189,6 @@ abstract class MavenImportingTestCase : MavenTestCase() {
return pom
}
@Throws(Exception::class)
override fun setUp() {
isAutoReloadEnabled = false
VfsRootAccess.allowRootAccess(getTestRootDisposable(), PathManager.getConfigPath())
@@ -226,7 +225,6 @@ abstract class MavenImportingTestCase : MavenTestCase() {
protected open fun initProjectManager(): Boolean = true
@Throws(Exception::class)
override fun tearDown() {
runAll(
ThrowableRunnable<Throwable> {
@@ -643,7 +641,6 @@ abstract class MavenImportingTestCase : MavenTestCase() {
)
}
@Throws(Exception::class)
protected fun executeGoal(relativePath: String?, goal: String) {
val dir = projectRoot.findFileByRelativePath(relativePath!!)
val rp = MavenRunnerParameters(true, dir!!.getPath(), null as String?, listOf(goal), emptyList())