Explain Maven repository search order

Maven repositories are directories of packaged JAR files with extra meta-data. The meta-data is represented by POM files. A repository contains all the project jars, library jar, plugins and any other project specific artifacts.

Maven repository search order

Local repository then Central repository then Remote repository.

Note: Maven stops processing and throws an error if dependency is not found in these repositories.

Please Share