Ubuntu maven 配置

第一步:到网上下载maven包

第二步:解压到一个文件夹下:

第三步:sudo  gedit  /etc/profile

第四步:在其后面追加:

export M2_HOME=/home/clint/maven

export M2=$M2_HOME/bin

export PATH=$M2:$PATH

第五步:保存

source profile

原文地址:https://www.cnblogs.com/Mr-Clint/p/3870544.html