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 NetBeans


Like Eclipse, NetBeans also allows dependencies to be managed and viewed through the IDE. Unlike Eclipse, NetBeans displays a graphical view of the dependencies along with additional information, which makes it easy for developers to troubleshoot issues.

How to do it...

Use the following steps in the NetBeans IDE to manage the dependencies:

  1. Open the demoproject-selendroid file in NetBeans.

  2. Open the pom.xml file.

  3. Click on the Graph tab:

  4. Hover over one of the dependencies in red (commons-codec):

  5. Hover over one of the dependencies in orange (httpclient):

How it works...

NetBeans creates a graph of all the project dependencies and displays the same. It colors the dependencies that have conflicts in red and those that have warnings in orange. On hovering, NetBeans displays details of the issues.

This allows the user to take suitable action.