1.download maven binary
http://maven.apache.org/download.cgi
2.vi ~/.bash_profile
export M2_HOME=/usr/local/maven/apache-maven-3.3.3
export PATH=$M2_HOME/bin:$PATH
3.source ~/.bash_profile
1.download maven binary
http://maven.apache.org/download.cgi
2.vi ~/.bash_profile
export M2_HOME=/usr/local/maven/apache-maven-3.3.3
export PATH=$M2_HOME/bin:$PATH
3.source ~/.bash_profile