本地仓库,windows默认路径是 ~.m2\repository,linux默认路径是 /home/root/.m2/repository
可以修改本地仓库的路径,在 ~/.m2/settings.xml配置文件里,可以设置:
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<localRepository>E://MAVEN//LocalWarehouse</localRepository><!--需要改成自己的maven的本地仓库地址-->