1.下载安装包
http://maven.apache.org/download.cgi
2.解压
3.配置maven环境变量
vim etc/profile
添加:
MAVEN_HOME=/usr/maven/apache-maven-3.5.0
export MAVEN_HOME
export PATH=${PATH}:${MAVEN_HOME}/bin
4.source etc/profile
5.查看版本 mvn -version
1.下载安装包
http://maven.apache.org/download.cgi
2.解压
3.配置maven环境变量
vim etc/profile
添加:
MAVEN_HOME=/usr/maven/apache-maven-3.5.0
export MAVEN_HOME
export PATH=${PATH}:${MAVEN_HOME}/bin
4.source etc/profile
5.查看版本 mvn -version
本文标题:linux安装maven
本文链接:https://www.haomeiwen.com/subject/udqoattx.html
网友评论