Maven POM editor provides structured form-based UI for viewing and editing Maven POM (pom.xml).
The "pom.xml" tab of Maven POM editor allows to edit Maven POM source and provides syntax highlighting, templates, hyperlinking (Ctlr-Click) and content assist (Ctrl+Space) for Maven artifacts:
It also provides basic content assist for Maven plugin configuration parameters:
Editor templates for parent, property, dependecy, exclusion, repository and plugin elements in POM XML editor can be customized in workspace Maven preferences:
Integrators can contribute additional templates using org.eclipse.ui.editors.templates extension point.
The form-based POM editor UI provides rich editing and navigation features. Here is a few examples:
- support of the full POM schema, including Maven profiles
- hyperlinking between POMs, including dependencies, plugins, parent POM, etc.
- hyperlinking to dependencies and Maven plugin project pages
- hyperlinking to xml configuration for Maven plugins from the form
- viewing effective POM for any Maven pom
- viewing POMs from local Maven repository, as well as from CVS, SVN and other sources in the IDE
Here is an example of form-based UI for editing project dependencies. The "Dependency Details" section shows information for the entry currently selected in "Dependencies" or "Dependency Management" sections.
Actions on "Dependencies" and "Dependency Management" section toolbars allows to add artifacts using standard Maven repository search UI, to enable showing artifacts groupIds and to enable filtering based on the criteria entered in the Search field on editor toolbar.
Actions on "Dependency Details" section toolbar allow to select artifact using Manve repository search UI and to open artifact's project web page. You can' also use hyperlink from the "Artifact Id" label to navigate to the artifact's POM.
You can also use content assistance (Ctrl+Space) in the "Dependency Details" fields:
The Hierarchy viewer is available from one of tabs in the Maven POM editor and it provides interactive list of resolved project dependencies along with hierarchical view of the project dependencies.
The viewer can be also opened using "Maven / Show Dependency Hierarchy" popup menu on entries in "Maven Dependencies" classpath container:
You can exclude artifacts from the project POM using "Exclude Maven Artifact" action from the popup menu:
Dependency Graph viewer is available from one of tabs in the Maven POM editor and it provides an interactive graphical representation of project dependency graph.
Both, Dependency Graph and Hierarchy view can be focused on selected dependency scope: