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:
    How to do it...
  4. Hover over one of the dependencies in red (commons-codec):
    How to do it...
  5. Hover over one of the dependencies in orange (httpclient):
    How to do it...

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.176.194