又一年 2017-10-30 20:08

1、在maven安装目录下找到maven的settings.xml文件

setting.xml主要用于配置maven运行环境等一系列通用的属性,是全局级别的配置文件。

Eclipse 自定义本地maven仓库位置

图1

2、配置maven仓库位置

Eclipse 自定义本地maven仓库位置

图2

3、eclipse,window-->preferences

在User Settings设置好settings.xml文件路径后,Local Repository路径会自动加载出来

Eclipse 自定义本地maven仓库位置

相关文章:

  • 2021-07-11
  • 2021-06-18
  • 2022-12-23
  • 2021-06-13
  • 2021-08-25
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2021-05-25
  • 2021-05-20
  • 2021-10-18
  • 2021-07-04
  • 2021-10-22
  • 2021-03-31
  • 2021-08-14
相关资源
相似解决方案