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