Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven POM-Editor: Dependency Graph missing

In Eclipse Helios I have the nice feature of a dependency graph inside the maven pom editor. enter image description here

But in later installations (Helios-sr2 and Indigo) this feature is missing. Does anybody know how to activate this? (I'm using OSX, 64bit cocoa)

like image 975
Thor Avatar asked Jun 25 '11 04:06

Thor


People also ask

How do I get the dependency tree in IntelliJ?

In the POM, right-click anywhere in the editor to open the context menu and select Maven | Show Dependencies. Alternatively, press Ctrl+Alt+Shift+U or Ctrl+Alt+U . In the diagram window, IntelliJ IDEA displays the sub project and all its dependencies including the transitive ones.

How do you use a dependency analyzer?

Analyze dependenciesFrom the main menu, select Code | Analyze Code | Dependencies. Alternatively, if you want to analyze a specific item, right-click it in the Project tool window and select Analyze | Analyze Dependencies. In the dialog that opens, specify the scope of files that you want to analyze.


2 Answers

This has been removed from m2e 1.0 (previously it was available if you selected 'show advanced editors', but that option is now gone too). The developers behind it have stated that the dependency graph never worked that well with more than a handful of dependencies and the dependency hierarchy view works better anyway.

Here is one of the messages from m2e-users about this:

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00769.html

like image 181
Spencer Uresk Avatar answered Oct 21 '22 15:10

Spencer Uresk


The Dependency graph is still available! At least in Indigo and Helios-SR2 you can activate the graph in the Eclipse settings: Maven - POM Editor - Show advanced tabs in the POM editor.

like image 25
Thor Avatar answered Oct 21 '22 14:10

Thor