先将maven下载到本地 然后安装 成功后 在eclipse中 执行 Window -> Preference -> Maven -> Installation -> Add 选择到你安装的maven的根目录即可