替代maven scm连接器subclipse(不能与subclipse1.8一起使用)? [英] alternative to maven scm connector subclipse (not working with subclipse1.8)?

查看:90
本文介绍了替代maven scm连接器subclipse(不能与subclipse1.8一起使用)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此对于我的项目,我需要Subclipse1.8.x.这一直很好,但是用于subclipse的Maven SCM处理程序仅与Subclipse 1.6.x兼容.我喜欢这个插件,因为它会自动加载(并检测到)模块,因此您可以在svn中以分层方式存储pom. (父/模块+模块/模块)等,并使用处理程序检出多模块Maven项目仅需检出一次.

So for my project I am in need of Subclipse 1.8.x. This has been well and good, but the maven SCM handler for subclipse is only compatible with Subclipse 1.6.x. I like this plugin because it automatically loads modules (and detects them), so you can store your poms in a hierarchical fashion in svn. ( parent / module + module / module) etc. and checking out a multi-module maven project with the handler only requires one check out.

由于我不能指望这项工作,我应该如何在svn中存储多模块maven项目?将它们以平级(Eclipse风格)存储在svn中,在m2e(父级)的帮助下一次将其检出,然后分别对每个模块进行检查?可以和subclipse一起玩吗?我不想存储自动生成的文件,仅存储资源,pom和源文件.

Since I cannot count on that working, how should I store multi-module maven projects in svn? Store them flat-level (Eclipse-style) in svn, check them out one at a time with help of m2e - the parent, and then each module individually? would that play nice with subclipse? I don't want to store auto-generated files, just resources, poms, and source files.

这里还有: https://github.com/sonatype/m2eclipse-subclipse/pull/4 显然,这是一个解决方案,它使svn协议可以通过scm(即使使用Subclipse 1.8.x)也可以签出多个Maven项目.但是,当我将其放在Eclipse的dropins文件夹中时,仍然看不到连接器吗?

There is also this: https://github.com/sonatype/m2eclipse-subclipse/pull/4 Apparently that is a solution, and that enables the svn protocol for checking out multi-maven projects via scm (even with Subclipse 1.8.x). However, when I put it in my dropins folder in eclipse, I stil don't see the connector?

在下面可以看到dropin结构,它可以根据我所读的内容工作,但是即使重新启动eclipse之后,我仍然找不到scm处理程序.我想开始开发,但这阻碍了我们.

The dropin structure can be seen below, should work according to what I've read, but I am still unable to find the scm handler even after restarting eclipse. I want to begin development but this is holding us back.

http://i42.tinypic.com/2465aas.jpg

Am使用m2e版本:1.1.0.20120130-2016.

Am using m2e version: 1.1.0.20120130-2016.

谢谢

推荐答案

m2e人士对此问题缺乏回应令人失望.值得庆幸的是,Subclipse的家伙最近才来救援.他们分叉了该项目,应用了补丁并创建了一个更新站点,该站点发布了新版本.简而言之,用于Subclipse的Maven SCM处理程序最终与Subclipse 1.8.x兼容

The lack of response on this issue from the m2e people has been disappointing. Thankfully the guys from Subclipse have recently come to our rescue. They have forked the project, applied the patch and created an update site which publishes the new version. In short, Maven SCM Handler for Subclipse is finally compliant with Subclipse 1.8.x

请确保您将来使用此更新站点进行安装,并且一切正常. :o)

Just make sure you use this update site to install in the future and all is well again in the universe. :o)

http://subclipse.tigris.org/m2eclipse/1.0

2014年10月3日更新:升级到Subclipse 1.10.x时出现类似问题,请参见

UPDATE 10/03/2014: Similar problem when upgrading to Subclipse 1.10.x, see this post

这篇关于替代maven scm连接器subclipse(不能与subclipse1.8一起使用)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆