maven下载地址:http://maven.apache.org/download.cgi
解压包:
# tar -xzvf apache-maven-3.5.2-bin.tar.gz
配置环境变量:
vim /etc/profile
......
export MAVEN_HOME=/apps/maven-3.5.2export PATH=$MAVEN_HOME/bin:$PATH