1、默认的本地仓库: ~/.m2/repository~表示:当前系统的家目录
2、修改默认的本地仓库,需要先查到settings.xml
3、在settings.xml文件中设置
4、在xml配置文件中重点修改的地方如下图所示