IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

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

  • Your own modules (blue )
  • Test dependencies (green)
  • Conflicting or unsatisfied dependencies (red)

In the Maven Dependencies diagram, you can:

  • Navigate from a node to the corresponding source code.
  • Mark dependencies as excluded.
  • Filter out the nodes on diagram, when the diagram is too large.
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+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UShift Alt Command UShift Alt Command UShift Alt Command U or Ctrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UAlt Command UAlt Command UAlt Command U.
To navigate from a node in diagram to its source code
  • Select the desired node, and press F4F4F4F4F4F4F4F4F12 or Ctrl+Shift+ECommand Down or F4F4F3, 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 or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Shift+Minus or Ctrl+SlashCtrl+Z or Alt+BackspaceCtrl+ZCtrl+Z or Alt+BackspaceCtrl+ZCommand ZCommand ZCommand Z.

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

See Also

Procedures:

Reference:

Web Resources: