Following is the search pattern
Search for dependency in the local repository, if not found, move to step 2 else do the further processing
Search for dependency in the central repository first, if not found and the remote repository is mentioned then move to step 4 else it is downloaded to the local repository for future reference
If a remote repository has not been mentioned, Maven simply stops the processing and throws an error (Unable to find dependency)
Search for dependency in the remote repository first, if found it is downloaded to the local repository for future reference otherwise Maven is expected to stop processing and throws an error
Search for dependency in the central repository first, if not found and the remote repository is mentioned then move to step 4 else it is downloaded to the local repository for future reference
If a remote repository has not been mentioned, Maven simply stops the processing and throws an error (Unable to find dependency)
Search for dependency in the remote repository first, if found it is downloaded to the local repository for future reference otherwise Maven is expected to stop processing and throws an error