http://maven.apache.org/download.cgi
vi /etc/profile
M2_HOME=/usr/local/apache-maven-3.6.0PATH=$PATH:$M2_HOME/binexport PATH M2_HOME
Centos7.2安装maven
原文:https://www.cnblogs.com/guigushanren/p/10163202.html