Maven dependency graph missing in NetBeans 6.9

孤者浪人 提交于 2019-12-07 15:02:34

问题


NetBeans had a really cool feature that would allow you to view all of a Maven project's dependencies as a graph. Well, I recently upgraded from 6.8 to 6.9, and while all the other Maven stuff works fine, the menu item for the dependency graph has vanished. I couldn't find any information on the NetBeans site. Does anybody know if this feature was removed? Or am I just missing some configuration option?


回答1:


According to Creating an Enterprise Application Using Maven (applies to NetBeans 6.9), the dependency graph is supposed to be available:

You can right-click in pom.xml and choose Show Dependency Graph to see a visual representation of the project dependencies. You can place your cursor over an artifact to display a tooltip with the artifact details.


(source: netbeans.org)

I can't confirm this as I'm not using NetBeans 6.9 right now but I doubt they removed this nice feature.




回答2:


For those using NetBeans 7.2, you now have to open the pom.xml, right click on its tab and select "Editors > Graph".



来源:https://stackoverflow.com/questions/3213689/maven-dependency-graph-missing-in-netbeans-6-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!