Introduction
Maven is a robust build management tool with dependency management as its main feature. Managing dependencies in a multi-module project is complex. Hence, Maven plays an essential role in addressing them. For more information about Maven, you must read.
In this article, you will learn about Maven's external dependencies and how to use them in our project.

Maven's External Dependencies
In the article, various scopes of Maven dependency. We discussed the multiple scopes of Maven dependency – compile, provided, test, runtime, import, and system. Maven is the dependency handler. Now you might be thinking, what are external dependencies? Before understanding the answer to this question, let us first discuss some terms –
-
Local Maven Repository – It is a folder located on your local computer. This folder is created when you run any Maven command for the first time. It helps in collecting all the project dependencies in one place.
-
Central Maven Repository – It is a repository containing many library JARs and requires no configuration. The Maven community manages it. This repository can be found and used through Maven’s website.
-
Remote Maven Repository – This repository comes into the picture when the required library JARs are not found even in the central maven repository. It is a custom repository containing the required project’s library JARs.
Returning to the question, you’ll relate to the terms mentioned above. The dependencies used when the required JARs are unavailable in the local, remote, and central Maven repositories are termed external dependencies. So, external dependencies are used when you cannot find the libraries required for your project in any of the three Maven repositories. Sqljdbc.jar or log4j are examples of Maven's external dependencies. Within the pom.xml file, Maven can configure external dependencies easily.




