meven安装配置

67 阅读1分钟

1、下载链接maven.apache.org/download.cg…

2、环境变量

添加 MAVEN_HOME 环境变量 E:\Maven\apache-maven-3.3.9

找到 Path 里添加 meven 的安装路径  %MAVEN_HOME%\bin

3、D:\apache-maven-3.9.11\repository

4、阿里公共仓库

<mirror>
  <id>aliyunmaven</id>
  <mirrorOf>*</mirrorOf>
  <name>阿里云公共仓库</name>
  <url>https://maven.aliyun.com/repository/public</url>
</mirror>