import org.jetbrains.idea.maven failed

Answered

I'm a developer of IDEA plugin and I'm developing a plugin about maven. I want to use the class that org.jetbrains.idea.maven.project.MavenProjectsManager, but the IDEA point out that can not found this class. And also can not found the package org.jetbrains.idea.maven.project. When I add

<depends>org.jetbrains.idea.maven</depends>

in plugin.xml, but import failed.

So, I want to know how to import the package of org.jetbrains.idea.maven.project. Thanks a lot.

2
2 comments

If you use Gradle - adding this maven repo works for me to fix depens issue

repositories {
mavenCentral()
maven {
url 'https://dl.bintray.com/jetbrains/intellij-plugin-service'
}
}

Borrowed from here: https://github.com/JetBrains/gradle-intellij-plugin

0

Please sign in to leave a comment.