Maven – Does IntelliJ IDEA have an “add maven dependency” wizard like Eclipse and NetBeans

intellij-13intellij-ideamaven

NetBeans and Eclipse have nice little wizards which allow me to search local and remote Maven repositories and add any dependency correctly to my POM.

Does IntelliJ (community edition) support anything of this sort?

Best Answer

In pom.xml press Alt + Insert. In the small pop-up click on Dependency.

enter image description here

There you can search any artifact or class. It looks like:

enter image description here

You also need to make sure that the local and remote repositories you are using have been indexed by IntelliJ. That can easily be done in Settings -> Maven -> Repositories (more details here)