环境
Ubuntu 18
Java 1.8
安装配置
- 下载安装
下载连接上下载 Binary tar.gz archive - 解压
tar xzvf
- 环境变量
vim /etc/profile
export MAVEN_HOME=/opt/apache-maven-3.9.0
export PATH=$MAVEN_HOME/bin:$PATH
- 检查
source /etc/profile
5. 换源腾讯
<mirror>
<id>tencent-cloud</id>
<mirrorOf>central</mirrorOf>
<url>http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
</mirror>
标签:HOME,tar,maven,export,Ubuntu,PATH,安装
From: https://www.cnblogs.com/xiao-xiaoyang/p/17176185.html