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.