Checkout Maven project from SCM - no connectors

EclipseMavenM2eclipse

Eclipse Problem Overview


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 ?

Checkout as Maven project from SCM

Eclipse Solutions


Solution 1 - Eclipse

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

  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.

Solution 2 - Eclipse

I ran into this issue with Eclipse where when you would try to Import a project via:

"Check out Maven Projects from SCM" from the project expoler the "scm url" drop down box would be empty.

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).

How to get Maven SCM Handler for Subclipse:

Assumption: You have Subclipse installed.

  1. Click Help->Install New Software
  2. Click "Add..." to add a new software site.
  3. Add this site: http://subclipse.tigris.org/m2eclipse/1.0 (Alternative URL: http://subclipse.tigris.org/m2eclipse/latest/)
  4. Select the Maven SCM handler for Subclipse
  5. 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".

Tested with Eclipse Juno

Solution 3 - Eclipse

Looks like there is some incompatibility issue between Indigo and m2eclipse. This discussion gives more details including a possible solution.

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.

Solution 4 - Eclipse

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

(Thanks to RockyMM for posting the link to the WONTFIX issue, which contained the link to the patched version.)

Solution 5 - Eclipse

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)".

Solution 6 - Eclipse

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:

> * Unzip the file to an empty folder somewhere, remember that folder In 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/

  • Click OK, choose all available packages to install, and continue the installation as usual

Solution 7 - Eclipse

This is related answer by "technocrat" with new update site URLs.

This is working with Eclipse 2019-12:

The problem: "Check out Maven Projects from SCM" from the project explorer the "scm url" drop down box is be empty.

You must have subclipse installed from the Eclipse Marketplace AND "Maven SCM handler for Subclipse".

How to get Maven SCM Handler for Subclipse:

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".

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmariooshView Question on Stackoverflow
Solution 1 - EclipseBrill PappinView Answer on Stackoverflow
Solution 2 - EclipsetechnocratView Answer on Stackoverflow
Solution 3 - EclipseRaghuramView Answer on Stackoverflow
Solution 4 - Eclipsefuemf5View Answer on Stackoverflow
Solution 5 - EclipseTastyCodeView Answer on Stackoverflow
Solution 6 - Eclipsegnom1gnomView Answer on Stackoverflow
Solution 7 - EclipsewknaufView Answer on Stackoverflow