When we build a project, we usually need external libraries and archives of third parties, or those developed by us in other projects. These are called project dependencies. One Maven project will have other Maven projects as dependencies, and it will refer to them through their
version Maven coordinates. When we declare a dependency in a project, this is first searched in the local repository, then in the Maven central repository and other remote repositories, if specified in the POM. When the dependency is found, it is downloaded and stored in the local repository for future reuse. As we are about to see, project dependencies can be available to the build process in different ways, depending on ...