下载链接
链接:https://pan.baidu.com/s/1YBRYbIK9Y5i0Vgr5vBSb8w
提取码:p3kr
文件解压后放到指定目录 D:\Program Files\maven\apache-maven-3.8.4
配置环境变量
MAVEN_HOME = D:\Program Files\maven\apache-maven-3.8.4
%MAVEN_HOME%\bin
新建仓库文件夹 repositiory
修改配置文件 settings.xmml
<localRepository>D:/Program Files/maven/apache-maven-3.8.4/repository</localRepository>
<mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/repositories/central/</url> </mirror>
<profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> </properties> </profile>
标签:Files,配置,1.8,maven,Program,apache,安装,3.8 From: https://www.cnblogs.com/shuzhixia/p/16984295.html