Is there a particular sequence in which maven searches for dependency libraries?
Answer Posted / Monika Sirohi
Yes, there is a specific order in which Maven searches for dependency libraries. It first looks for dependencies in the local repository (~/.m2/repository on Linux and macOS, C:Users<username>.m2repository on Windows). If it cannot find the dependency there, it checks remote repositories defined in the settings.xml file or through the -s command-line option.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers