I have a problem with checkout Maven project in Eclipse Indigo. I've installed m2e plugin, Subclipse, Git, but can't select appropriate SCM type ? How to solve this ?
我在Eclipse Indigo的checkout Maven项目中遇到了问题。我已经安装了m2e插件,Subclipse,Git,但无法选择合适的SCM类型?怎么解决这个?
6 个解决方案
#1
93
Affan was correct. The connectors are all still there in Indigo, just hidden a little.
阿凡是对的。 Indigo中的连接器仍然存在,只是隐藏了一点。
- Start Eclipse and open preferences.
- 启动Eclipse并打开首选项。
- Find the Maven group and expand it.
- 找到Maven组并展开它。
- Select the "Discovery" item and click "Open Catalog".
- 选择“发现”项,然后单击“打开目录”。
- A dialog will pop up with all the goodies. The connectors are at the bottom.
- 将弹出一个包含所有好东西的对话框。连接器位于底部。
#2
16
I ran into this issue with Eclipse where when you would try to Import a project via:
我在Eclipse中遇到了这个问题,当你尝试通过以下方式导入项目时:
"Check out Maven Projects from SCM" from the project expoler the "scm url" drop down box would be empty.
从项目开发者那里“查看来自SCM的Maven项目”,“scm url”下拉框将为空。
After googling around, you must have subclipse installed from the Eclipse Marketplace (which I did) AND "Maven SCM handler for Subclipse" from the "Help->Install new software" dialog box (which I did not).
在谷歌搜索后,你必须从Eclipse Marketplace(我做过)和“帮助 - >安装新软件”对话框(我没有)的“Maven SCM处理程序”安装了subclipse。
How to get Maven SCM Handler for Subclipse:
如何获取Subclipse的Maven SCM Handler:
Assumption: You have Subclipse installed.
假设:你安装了Subclipse。
- Click Help->Install New Software
- 单击帮助 - >安装新软件
- Click "Add..." to add a new software site.
- 单击“添加...”以添加新的软件站点。
- Add this site: http://subclipse.tigris.org/m2eclipse/1.0
- 添加此站点:http://subclipse.tigris.org/m2eclipse/1.0
- Select the Maven SCM handler for Subclipse
- 为Subclipse选择Maven SCM处理程序
- Install
- 安装
You can now use the Project Explorer context menu of "Import -> Maven -> Check out Maven Projects from SCM" and actually have a SCM URL to choose from in the drop down box, namely "svn".
您现在可以使用“导入 - > Maven - >从SCM检出Maven项目”的Project Explorer上下文菜单,实际上有一个SCM URL可以在下拉框中选择,即“svn”。
Tested with Eclipse Juno
用Eclipse Juno测试
#3
9
Looks like there is some incompatibility issue between Indigo and m2eclipse. This discussion gives more details including a possible solution.
看起来Indigo和m2eclipse之间存在一些不兼容问题。本讨论提供了更多细节,包括可能的解决方案
Hope this helps.
希望这可以帮助。
Edit 1: Uninstalled m2eclipse 0.12.x from Indigo and installed m2e from Eclipse's m2e releases repository. This version shows a link to download m2e scm connectors from Eclipse marketplace (when you try to check out a maven project from scm). I could see connectors for cvs, git and subversive.
编辑1:从Indigo卸载m2eclipse 0.12.x并从Eclipse的m2e版本存储库安装m2e。此版本显示了从Eclipse marketplace下载m2e scm连接器的链接(当您尝试从scm检出maven项目时)。我可以看到cvs,git和颠覆的连接器。
#4
5
For those using subclipse 1.8.x there is a patched version of the m2e connector. Here is the update site: http://subclipse.tigris.org/m2eclipse/1.0
对于那些使用subclipse 1.8.x的人来说,有一个m2e连接器的补丁版本。这是更新站点:http://subclipse.tigris.org/m2eclipse/1.0
(Thanks to RockyMM for posting the link to the WONTFIX issue, which contained the link to the patched version.)
(感谢RockyMM发布了WONTFIX问题的链接,其中包含修补版本的链接。)
#5
3
Indigo comes with m2e pre-installed. To get the connectors just click on link where it says find more connectors in the m2e marketplace. From there i installed the m2e-subclipse connector. This is a different approach from previous versions of Eclipse where you had to install another plugin from market place called "Maven Integration for Eclipse (Extras)".
Indigo预装了m2e。要获得连接器,只需单击链接,在m2e市场中找到更多连接器。从那里我安装了m2e-subclipse连接器。这是与以前版本的Eclipse不同的方法,您必须从市场安装另一个名为“Maven Integration for Eclipse(Extras)”的插件。
#6
0
There was an unofficial update of SVN connector. To install it go to http://subclipse.tigris.org/issues/show_bug.cgi?id=1557 download attachment org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip and follow the steps:
有一个非正式的SVN连接器更新。要安装它,请访问http://subclipse.tigris.org/issues/show_bug.cgi?id=1557下载附件org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip并按照以下步骤操作:
- Unzip the file to an empty folder somewhere, remember that folder In Eclipse,
- 将文件解压缩到某处的空文件夹,记住该文件夹在Eclipse中,
- go to Help/Install New Software…
- 转到帮助/安装新软件...
- Click “Add…” to add a new site
- 单击“添加...”以添加新站点
- In the window, click on “Local…” and choose the folder where you unzipped the site before. The result in the Location field should look like file:/C:/ theUnzipFolder/
- 在窗口中,单击“本地...”,然后选择之前解压缩该站点的文件夹。 Location字段中的结果应该类似于file:/ C:/ theUnzipFolder /
- Click OK, choose all available packages to install, and continue the installation as usual
- 单击“确定”,选择要安装的所有可用软件包,然后照常继续安装
#1
93
Affan was correct. The connectors are all still there in Indigo, just hidden a little.
阿凡是对的。 Indigo中的连接器仍然存在,只是隐藏了一点。
- Start Eclipse and open preferences.
- 启动Eclipse并打开首选项。
- Find the Maven group and expand it.
- 找到Maven组并展开它。
- Select the "Discovery" item and click "Open Catalog".
- 选择“发现”项,然后单击“打开目录”。
- A dialog will pop up with all the goodies. The connectors are at the bottom.
- 将弹出一个包含所有好东西的对话框。连接器位于底部。
#2
16
I ran into this issue with Eclipse where when you would try to Import a project via:
我在Eclipse中遇到了这个问题,当你尝试通过以下方式导入项目时:
"Check out Maven Projects from SCM" from the project expoler the "scm url" drop down box would be empty.
从项目开发者那里“查看来自SCM的Maven项目”,“scm url”下拉框将为空。
After googling around, you must have subclipse installed from the Eclipse Marketplace (which I did) AND "Maven SCM handler for Subclipse" from the "Help->Install new software" dialog box (which I did not).
在谷歌搜索后,你必须从Eclipse Marketplace(我做过)和“帮助 - >安装新软件”对话框(我没有)的“Maven SCM处理程序”安装了subclipse。
How to get Maven SCM Handler for Subclipse:
如何获取Subclipse的Maven SCM Handler:
Assumption: You have Subclipse installed.
假设:你安装了Subclipse。
- Click Help->Install New Software
- 单击帮助 - >安装新软件
- Click "Add..." to add a new software site.
- 单击“添加...”以添加新的软件站点。
- Add this site: http://subclipse.tigris.org/m2eclipse/1.0
- 添加此站点:http://subclipse.tigris.org/m2eclipse/1.0
- Select the Maven SCM handler for Subclipse
- 为Subclipse选择Maven SCM处理程序
- Install
- 安装
You can now use the Project Explorer context menu of "Import -> Maven -> Check out Maven Projects from SCM" and actually have a SCM URL to choose from in the drop down box, namely "svn".
您现在可以使用“导入 - > Maven - >从SCM检出Maven项目”的Project Explorer上下文菜单,实际上有一个SCM URL可以在下拉框中选择,即“svn”。
Tested with Eclipse Juno
用Eclipse Juno测试
#3
9
Looks like there is some incompatibility issue between Indigo and m2eclipse. This discussion gives more details including a possible solution.
看起来Indigo和m2eclipse之间存在一些不兼容问题。本讨论提供了更多细节,包括可能的解决方案
Hope this helps.
希望这可以帮助。
Edit 1: Uninstalled m2eclipse 0.12.x from Indigo and installed m2e from Eclipse's m2e releases repository. This version shows a link to download m2e scm connectors from Eclipse marketplace (when you try to check out a maven project from scm). I could see connectors for cvs, git and subversive.
编辑1:从Indigo卸载m2eclipse 0.12.x并从Eclipse的m2e版本存储库安装m2e。此版本显示了从Eclipse marketplace下载m2e scm连接器的链接(当您尝试从scm检出maven项目时)。我可以看到cvs,git和颠覆的连接器。
#4
5
For those using subclipse 1.8.x there is a patched version of the m2e connector. Here is the update site: http://subclipse.tigris.org/m2eclipse/1.0
对于那些使用subclipse 1.8.x的人来说,有一个m2e连接器的补丁版本。这是更新站点:http://subclipse.tigris.org/m2eclipse/1.0
(Thanks to RockyMM for posting the link to the WONTFIX issue, which contained the link to the patched version.)
(感谢RockyMM发布了WONTFIX问题的链接,其中包含修补版本的链接。)
#5
3
Indigo comes with m2e pre-installed. To get the connectors just click on link where it says find more connectors in the m2e marketplace. From there i installed the m2e-subclipse connector. This is a different approach from previous versions of Eclipse where you had to install another plugin from market place called "Maven Integration for Eclipse (Extras)".
Indigo预装了m2e。要获得连接器,只需单击链接,在m2e市场中找到更多连接器。从那里我安装了m2e-subclipse连接器。这是与以前版本的Eclipse不同的方法,您必须从市场安装另一个名为“Maven Integration for Eclipse(Extras)”的插件。
#6
0
There was an unofficial update of SVN connector. To install it go to http://subclipse.tigris.org/issues/show_bug.cgi?id=1557 download attachment org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip and follow the steps:
有一个非正式的SVN连接器更新。要安装它,请访问http://subclipse.tigris.org/issues/show_bug.cgi?id=1557下载附件org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip并按照以下步骤操作:
- Unzip the file to an empty folder somewhere, remember that folder In Eclipse,
- 将文件解压缩到某处的空文件夹,记住该文件夹在Eclipse中,
- go to Help/Install New Software…
- 转到帮助/安装新软件...
- Click “Add…” to add a new site
- 单击“添加...”以添加新站点
- In the window, click on “Local…” and choose the folder where you unzipped the site before. The result in the Location field should look like file:/C:/ theUnzipFolder/
- 在窗口中,单击“本地...”,然后选择之前解压缩该站点的文件夹。 Location字段中的结果应该类似于file:/ C:/ theUnzipFolder /
- Click OK, choose all available packages to install, and continue the installation as usual
- 单击“确定”,选择要安装的所有可用软件包,然后照常继续安装