1.meaven修改本地仓库地址
第一步:找到 apache-maven-3.8.6-bin\apache-maven-3.8.6\conf
第二步:打开conf中settings.xml修改如下
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>修改为你想要改的地址</localRepository>
例如:
<localRepository>E:/Program/Project/Projectjava/reposity</localRepository>