1.首先安装git工具
可以参考这篇博客
https://www.cnblogs.com/eRrsr/p/5916245.html
2.进入工作空间,右击->git bush here->输入命令 git clone +项目的url 回车之后就开始下载了
3.进入eclipse new->import->maven->existing maven projects ->选中工作空间中刚刚导入的项目,然后一直下一步就好了
4.项目导入到eclipse中之后,右击项目->run as ->maven install 目的是下载依赖的jar包,至此就完成了