- Do one of the following:
- In the Maven Projects tool window, right-click the desired pom.xml file, and choose , or .
- Right-click pom.xml in the editor, and choose .
- Press NothingNothingNothingNothingNothingNothingNothingNothingNothingNothingNothingNothing or NothingNothingNothingNothingNothingNothingNothingNothingNothingNothingNothingNothing.
- Select the desired node, and press F4F4F4F4F4F4F4F4F12 or Ctrl+Shift+EF4F4F3, or choose on its context menu. The corresponding file opens in the editor.
- Select a dependency in diagram.
- On the context menu, choose .
- 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.

.