首页 > 其他 > 详细

Maven多配置仓库地址拉取顺序

时间:2021-05-07 19:00:22      阅读:99      评论:0      收藏:0      [点我收藏+]

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.

Maven多配置仓库地址拉取顺序

原文:https://www.cnblogs.com/imzdong/p/14741539.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!