Adding maven support to existing IntelliJ module is not available

I just started the IntelliJ plugin project, and after a few steps I realized that I am not managing dependencies with maven. Naturally, I’m heading to the module in the project explorer, and right-clicking → Add Framework support. But Maven is not listed! In fact, the only thing listed is Groovy. What can cause this, and how do I return maven?

The maven plugin is included.

+7
intellij-idea maven
source share
2 answers

Here's a short answer on how to go to Gradle, but most of the questions go unanswered.

How to manage IntelliJ plugin development lifecycle using Maven

Read this post carefully: http://labs.bsb.com/2013/11/how-to-manage-development-life-cycle-of-intellij-plugins-with-maven-2/

The post also contains a link to the github source code.

Creating your plugin project using maven in IntelliJ

This is probably not what you are struggling with, but I turn it on just in case. Suppose that you have already launched a new plug-in project, you have two options:

  • Right-click the project name in the project explorer and select New > Module
  • Create pom.xml in the root of the project, then right-click it and select Add as Maven Project

Hth

+3
source share

First, make sure you enable the maven plugin in

File -> Preferences -> Plugins and add a search to the maven plugin and activate

Restart IntelliJ.

Go and check the tool window to make it visible.

go to "View" → "Tools"> "Maven Projects" to open it.

+2
source share

All Articles