我已经安装了m2eclipse和EGit,我可以从git仓库签出一个项目,并且可以构建一个maven项目,但是我无法从git仓库签出一个maven项目。 问题是,SCM URL字段是空的(除了EGit我也有SVN团队提供者以及...),并且当我粘贴URL时,我只是得到SCM provider is not available在maven控制台中SCM provider is not available 。 我试图寻找这个问题,我发现我必须为git安装m2eclipse SCM集成和SCM处理程序,但是那些不在更新站点上。 有任何想法吗?
I have installed m2eclipse and EGit, I can checkout a project from a git repository and I can build a maven project, but I cannot checkout a maven project from the git repository. The problem is, that the SCM URL field is empty (apart from EGit I have SVN team providers as well...) and when I paste the url I just get SCM provider is not available in the maven console. I tried searching for this issue and I found I have to install m2eclipse SCM integration and SCM handler for git, however those aren't on the update sites. Any ideas?
最满意答案
Eclipse中的Maven SCM集成曾经很好。 它曾经是你可以进行导入>从SCM中检出Maven项目并放入一个像scm:git:ssh:// git @ git:project.git这样的URL,但是在Helios或新版本的m2eclipse + extras中你可以不再那样了。 它总是会给出原始文章正在讨论的错误。 令人失望的是,你必须在EGit签出,然后添加依赖管理。 这不是一个很好的解决方案,因为它对于家长/孩子POM来说并不顺利。
Maven SCM integration in Eclipse used to be good. It used to be that you could do Import > Check out Maven projects from SCM and put in a URL like scm:git:ssh://git@git:project.git but in Helios or the new version of m2eclipse + extras you can't do that anymore. It always gives the error that the original post is talking about. Disappointing that you have to check out in EGit and then add dependency management. This isn't a great solution because it isn't smooth with parent / children POMs.
更多推荐
发布评论