Dependency management using Eclipse

We have seen that the Eclipse IDE provides support for Maven projects and allows us to run Maven commands from the IDE. Let us now see how we can manage dependencies using Eclipse.

How to do it...

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

  1. Open the demoproject-selendroid file in Eclipse.
  2. Open the pom.xml file.
  3. Click on the Dependencies tab as shown in the following screenshot:
    How to do it...
  4. A new dependency can be added by clicking on the Add… button (see in the preceding screenshot for the Add... button):
    How to do it...

Get Apache Maven Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.