https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/
wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
zhudechaodeMBP2:etc zhudechao$ tar -zxvf apache-maven-3.3.9-bin.tar.gz
zhudechaodeMBP2:bin zhudechao$ pwd
/Users/zhudechao/etc/apache-maven-3.3.9/bin
zhudechaodeMBP2:bin zhudechao$ vi ~/.bash_profile
export MAVEN_HOME=/Users/zhudechao/etc/apache-maven-3.3.9/bin
export PATH=$MAVEN_HOME:$PATH
zhudechaodeMBP2:bin zhudechao$ source ~/.bash_profile
zhudechaodeMBP2:bin zhudechao$ mvn -v