ubuntu安装maven

1.下载mavenapache

http://maven.apache.org/download.cgimaven

wget http://mirrors.noc.im/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gzserver

tar xzvf  apache-maven-3.3.9-bin.tar.gzxml

2.设置变量get

vi /etc/profile变量

添加 export PATH="/server/maven/bin:$PATH"配置

生效 source /etc/profilefile

3.修改配置文件cgi

%MAVEN_HOME%/conf/setting.xml下载

相关文章
相关标签/搜索