Book Image

Apache Maven Cookbook

Book Image

Apache Maven Cookbook

Overview of this book

Table of Contents (18 chapters)
Apache Maven Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Dependency management using IntelliJ IDEA


Unlike Eclipse and NetBeans, viewing dependencies as graphs is only possible in the IntelliJ IDEA Ultimate version, which is commercial. The Community Edition does not support this option.

How to do it...

Use the following steps in IntelliJ Idea Ultimate version to manage the dependencies:

  1. Open the demoproject-selendroid file in the IntelliJ IDEA Ultimate edition.

  2. Right-click on the pom.xml file.

  3. Click on the Show Dependencies... option (See this option in the preceding screenshot) and observe the following screenshot:

How it works...

IntelliJ IDEA has first-class support for Maven projects. It reads the pom.xml file of the project, parses it, and identifies all the dependencies, including transitive dependencies. It then displays the same in a graphical manner, allowing users to visualize the project.