Maven 安裝和使用apache
1.下載maven
http://maven.apache.org/download.cgi
2.tarspa
tar zxvf apache-maven-3.5.0-bin.tar.gz
3.環境變量code
/etc/profileblog
export M2_HOME=/opt/apache-maven-3.5.0 PATH=$M2_HOME/bin:$PATH
source /etc/profile
4.驗證class
echo $M2_HOMEecho $PATHmvn -v