The latest release of the m2eclipse plugin has a form-based POM editor that allows you to edit every part of a project’s pom.xml with an easy-to-use GUI interface. To open the POM editor, click on a project’s pom.xml file. If you have customized the editors for a pom.xml file, and the POM editor is not the default editor, you may need to right-click on the file and choose Open With... → . The POM editor will then display the Overview tab, as shown in Figure 14-27.
One common complaint about Maven is that it forces a developer to confront large and often overwhelming XML documents in a highly complex multimodule project build. Although the authors of this book believe this is a small price to pay for the flexibility of a tool such as Maven, the graphical POM editor is a tool that makes it possible for people to use Maven without ever having to know about the XML structure behind a Maven POM.
Figure 14-27. Overview tab of POM editor for idiom-core
The project shown in Figure 14-27 is a project with an
notice that most of the fields in this
project are blank. There is no
version, and there is no SCM
information supplied in the POM editor. This is
idiom-core inherits most of this information from a
parent project named
idiom. If we open the
pom.xml for the parent project in the ...