Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Maven Dependency HierarchyNew to Visual Studio Code? Get it now.
Maven Dependency Hierarchy

Maven Dependency Hierarchy

Sanjeev K

|
3 installs
| (1) | Free
Browse Maven dependency hierarchies, inspect scopes and conflicts, and run Maven goals in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Maven Dependency Hierarchy

Browse a Maven project's dependency tree in VS Code and run common Maven goals without replacing VS Code's native POM editor.

What's new in 0.0.4

  • Maven goal output now streams to the extension output channel while the command is running, instead of appearing only after the goal completes.
  • Updated the Marketplace description to better explain the extension.

Features

  • View direct and transitive dependencies, scopes, optional dependencies, and version conflicts.
  • Filter and expand or collapse the dependency tree.
  • Add an exclusion for a transitive dependency from the hierarchy.
  • Run Maven update, lifecycle, and custom-goal commands.
  • Refresh the hierarchy after changing a POM.

Usage

  1. Open a pom.xml in VS Code's native text editor.
  2. Right-click in the editor and select Maven: Dependency Hierarchy Preview. Or click the hierarchy icon in the editor title bar; its tooltip is Maven: Dependency Hierarchy Preview.
  3. The dependency hierarchy opens in a separate editor beside the POM.

The hierarchy refreshes when the POM is saved and can also be refreshed manually. The POM is saved before running a Maven command. Maven must be available on PATH and configured for the project.

Requirements

  • Visual Studio Code 1.80 or newer.
  • Apache Maven available on PATH.
  • A Java runtime configured for the Maven project.

License

Licensed under the Apache License, Version 2.0. See LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft