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.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM