一、安装Mven
1、下载Maven安装包
2、解压安装包
3、进入安装包:
conf--.>settings.xml-->打开文件
添加以下三个内容
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:\16-Apache\apache-maven-3.6.1</localRepository>
这里是安装路径设置,根据自己防止的安装包位置进行设置