我在Github中有一个Maven项目,我想在Eclipse中使用它。在eclipse中,有一个File> New> Other> Maven>从SCM检出Maven项目的选项。但SCM URL附近的下拉选择选项处于非活动状态。点击“m2e Marketplace”后,我在列表中找不到git。虽然我确实发现了egit,所以我试图安装它。但是我得到了下面的错误信息。试图通过Git在Eclipse中打开Maven项目时出现问题Luna
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.egit,3.4.1.201406201815-r
No repository found containing: osgi.bundle,org.eclipse.egit.core,3.4.1.201406201815-r
No repository found containing: osgi.bundle,org.eclipse.egit.doc,3.4.1.201406201815-r
No repository found containing: osgi.bundle,org.eclipse.egit.ui,3.4.1.201406201815-r
No repository found containing: osgi.bundle,org.eclipse.jgit,3.4.1.201406201815-r
No repository found containing: osgi.bundle,org.eclipse.jgit.archive,3.4.1.201406201815-r
No repository found containing: org.eclipse.update.feature,org.eclipse.egit,3.4.1.201406201815-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,3.4.1.201406201815-r
出了什么问题?我可以使用egit而不是Git吗?为什么我收到错误信息?对不起,是“m4e”下一代的“m2e”?
为什么不做一个git克隆到一个文件夹,然后将其作为maven项目导入? – Ernie 2014-09-23 12:21:01
我试过了。但是出了点问题。不知道是什么。 – Sreenadh 2014-09-24 05:52:04