以从github上下载gson为例,复制地址:
eclipse中导入,选择git
选择分支
保存本地的路径
将项目加载到eclipse中
选择保存到本地的目录文件,自动加载pom.xml文件
编译maven项目
原文地址:https://blog.csdn.net/chyo098/article/details/79268136