MAC maven安装配置

1:download maven release
2:解压至/usr/local/marve-3.5.0
3:编辑~/.bash_profile
添加:
export MAVEN_HOME=/usr/local/apache-maven-3.5.0
export PATH= PATH: MAVEN_HOME/bin
4:修改conf/settings.xml添加maven仓库地址,假如:/usr/local/apache-maven-3.5.0/repo-img
5:在eclipse中导入工程,设置eclipse的仓库地址:preference-Maven-User settings-Browse选择那个setting文件,update settings
6:右键项目-maven-update Project

你可能感兴趣的:(其他)