Chapter 5. Dependency Management

In this chapter, we will cover the following recipes:

  • Choosing the scope of dependency
  • Getting a report of dependencies
  • Getting into dependency and avoiding dependency hell
  • Downloading dependencies into a folder
  • Understanding SNAPSHOT dependencies
  • Handling dependency download errors
  • Detecting unused/undeclared dependencies
  • Manually installing dependencies that are not available in a repository
  • Dependency management using Eclipse
  • Dependency management using NetBeans
  • Dependency management using IntelliJ IDEA

Introduction

One of the powerful features of Maven is managing the dependencies required by the project. It is rare for a project to be developed without using other dependencies. The typical issues in using dependencies ...

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.