Maven安装配置

2018-01-11  本文已影响0人  jsjack_wang
1.下载配置
wget http://mirror.bit.edu.cn/apache/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz

tar -zvxf apache-maven-3.5.2-bin.tar.gz
mv apache-maven-3.5.2 /usr/local/maven

vim /etc/profile
export MAVEN_HOME=/usr/local/maven
export PATH=${PATH}:${MAVEN_HOME}/bin
source /etc/profile
2.验证是否安装成功
mvn -v
上一篇下一篇

猜你喜欢

热点阅读