Maven多配置仓库地址拉取顺序
1、官网地址
2、总结
- maven的conf下的settings.xml > .m2目录下的settings.xml > 项目pom.xml
Remote repository URLs are queried in the following order for artifacts until one returns a valid result:
1、effective settings:
A、Global settings.xml
B、User settings.xml
2、local effective build POM:
A、Local pom.xml
B、Parent POMs, recursively
C、Super POM
3、effective POMs from dependency path to the artifact.