Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse-like maven pom.xml management in IntelliJ?

I have recently switched from Eclipse to IntelliJ, and I am desperately missing all kinds of helpful functionality when it comes to managing maven dependencies in a non-trivial project structure.

For example, in Eclipse, there is the helpful warning when you are (by mistake?) overwriting a managed dependency version.

How do I get that same warning in IntelliJ to make sure I'm not overwriting a managed version I actually did not intend to overwrite?

Also, in Eclipse, when you hover over a dependency that is managed "upstream", it shows you what the version is, and you can jump to the location (pom.xml) where it is being managed. How do I get that in IntelliJ as well?

I have installed the Maven Helper plugin, and that somewhat helps with dependencies, but it still does not offer the functionality that Eclipse supports out of the box.

Or, is there essentially an IntelliJ plugin somewhere that simply offers Eclipse-like maven pom.xml management functionality with all the bells and whistles?

like image 760
mac Avatar asked Nov 08 '22 12:11

mac


1 Answers

For example, in Eclipse, there is the helpful warning when you are (by mistake?) overwriting a managed dependency version.

Doesn't seem like the feature exists, please vote for: IDEA-181023

in Eclipse, when you hover over a dependency that is managed "upstream", it shows you what the version is, and you can jump to the location (pom.xml) where it is being managed. How do I get that in IntelliJ as well?

For the managed dependencies there is an icon in gutter, where you navigate or see the managed dependency details:

enter image description here

like image 62
Andrey Avatar answered Nov 14 '22 20:11

Andrey