IntelliJ IDEA 11.1 Web Help

10.0+

IntelliJ IDEA makes it possible to view Maven dependencies as a UML class diagram. In this diagram, you can discern:

In the Maven Dependencies diagram, you can:

To view dependencies in a UML class diagram
  • Do one of the following:
    • In the Maven Projects tool window, right-click the desired pom.xml file, and choose Show Dependencies, or Show Dependencies Popup.
    • Right-click pom.xml in the editor, and choose Dependencies | Show Dependencies /Show Dependencies popup.
    • Press Ctrl+Shift+Alt+UCommand Shift Alt U or Ctrl+Alt+UCommand Alt U.
To navigate from a node in diagram to its source code
  • Select the desired node, and press F4F4, or choose Jump to Source on its context menu. The corresponding file opens in the editor.
To exclude a dependency
  1. Select a dependency in diagram.
  2. On the context menu, choose Exclude.
  3. From the drop-down list, select the module where exclusion definition will be added. The selected dependencies will be removed from diagram, and exclusion section will be added to the corresponding dependency.

Tip

You can undo this operation by pressing Ctrl+Z Command Z or Alt+BackSpace.

To filter out the elements that are of now interest
  1. On the diagram toolbar, click filterVisibilityLevel.
  2. From the drop-down list, select the desired scope.

See Also

Procedures:

Reference:

Web Resources: