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:
Open the
demoproject-selendroid
file in NetBeans.Open the
pom.xml
file.Click on the Graph tab:
Hover over one of the dependencies in red (commons-codec):
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.