O'Reilly logo

Apache Maven Cookbook by Raghuram Bharathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting a report of dependencies

It is useful to get a list of dependencies for a Maven project in order to identify and troubleshoot problems. The Maven Dependency plugin helps us here.

Getting ready

To appreciate this, we need to have a fairly complex project that has several transitive dependencies. You can look at one such project at https://github.com/selendroid/demoproject-selendroid.

The project source code is available as a Git repository. A Git repository is typically downloaded by cloning it. To do this, install Git on your system. Refer to the Git setup link (https://help.github.com/articles/set-up-git/) for detailed instructions.

How to do it...

Use the following steps, to get a list of dependencies for a Maven project:

  1. Clone the open source ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required