eclipse m2eclipse - 没有 SCM 连接器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6981001/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:47:34  来源:igfitidea点击:

m2eclipse - No Connectors for SCM?

eclipseeclipse-pluginm2eclipse

提问by Arpit

I have installed m2eclipse plugin to a remote machine with no connection to the internet, I manually did the plugin installation by copying the contents from featuresand pluginsdirectories.

我已经将 m2eclipse 插件安装到没有连接到互联网的远程机器上,我通过从featuresplugins目录中复制内容来手动安装插件。

Now When I am trying to Checkout Maven project from SCM(my local repo), it doesn't shows me any connectors!~!~

现在,当我尝试从 SCM(我的本地存储库)中Checkout Maven 项目时,它没有显示任何连接器!~!~

Although there is an option to Find the SCM connectors in M2E Marketplace, but my machine has no connection to the net. Is there any manual way to install the SCM Connectors for the above said plugin ??

虽然在 M2E Marketplace有一个查找 SCM 连接器的选项,但我的机器没有连接到网络。是否有任何手动方法可以为上述插件安装 SCM 连接器?

enter image description here

在此处输入图片说明

采纳答案by saswati

Install the M2clipse SCM integrations plugin . Update site: http://m2eclipse.sonatype.org/sites/m2e-extras. Choose the following components: Maven SCM handler for Subclipse, Maven SCM Integration

安装 M2clipse SCM 集成插件。更新站点:http: //m2eclipse.sonatype.org/sites/m2e-extras。选择以下组件:Subclipse 的 Maven SCM 处理程序、Maven SCM 集成

回答by simbo1905

enter image description here

在此处输入图片说明

The screenshot has a link "m2e marketplace" in the bottom right where you can install the subclipse connector. Before you do that simply use the main "Help->Eclipse Marketplace..." and from the popular tab install subclipse. Then after restarting go back to the screenshot above for checking out as maven from SVN and use the link "m2e marketplace" on the bottom right and install the subclipse connector.

屏幕截图的右下角有一个链接“m2e 市场”,您可以在其中安装 subclipse 连接器。在您执行此操作之前,只需使用主“Help->Eclipse Marketplace...”并从流行的选项卡安装 subclipse。然后在重新启动后返回上面的屏幕截图以从 SVN 以 maven 身份签出并使用右下角的链接“m2e 市场”并安装 subclipse 连接器。

You then have SVN and MavenSVN functionality.

然后您就拥有了 SVN 和 MavenSVN 功能。

回答by Volker Stolz

According to this article, you need to install the connectors from the extraupdate-site at http://m2eclipse.sonatype.org/installing-m2eclipse.html.

根据本文,您需要从位于http://m2eclipse.sonatype.org/installing-m2eclipse.html额外更新站点安装连接器。

回答by Brill Pappin

I just answered this question in another post ;)

我刚刚在另一篇文章中回答了这个问题;)

The connectors are all still there in Indigo, just hidden a little.

连接器都还在 Indigo 中,只是隐藏了一点。

  1. Start Eclipse and open preferences.
  2. Find the Maven group and expand it.
  3. Select the "Discovery" item and click "Open Catalog".
  4. A dialog will pop up with all the goodies. The connectors are at the bottom.
  1. 启动 Eclipse 并打开首选项。
  2. 找到 Maven 组并展开它。
  3. 选择“发现”项并单击“打开目录”。
  4. 将弹出一个包含所有好东西的对话框。连接器位于底部。