Maven 项目中依赖的搜索顺序

http://www.manongjc.com/article/13422.html

执行过程中使用 -e -X 查看详细的搜索地址;

1,中央仓库,这是默认的仓库
2,镜像仓库,通过 sttings.xml 中的 settings.mirrors.mirror 配置
3,全局profile仓库,通过 settings.xml 中的 settings.repositories.repository 配置
4,项目仓库,通过 pom.xml 中的 project.repositories.repository 配置
5,项目profile仓库,通过 pom.xml 中的 project.profiles.profile.repositories.repository 配置
6,本地仓库
local_repo > settings_profile_repo > pom_profile_repo > pom_repositories > settings_mirror > central

 

相关文章:

  • 2021-12-26
  • 2022-12-23
  • 2021-09-18
  • 2021-07-10
  • 2022-12-23
  • 2022-03-03
  • 2021-06-24
  • 2021-09-01
猜你喜欢
  • 2021-06-09
  • 2021-07-01
  • 2022-12-23
  • 2021-04-08
  • 2021-12-13
  • 2021-07-02
相关资源
相似解决方案