Checkout Maven project from SCM - no connectors

71,274

Solution 1

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

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

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

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

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

Share:
71,274
marioosh
Author by

marioosh

mostly Java programmer, Linux, Node.js and JavaScript technologies enthusiast...

Updated on January 16, 2020

Comments

  • marioosh
    marioosh over 4 years

    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

  • Brill Pappin
    Brill Pappin over 12 years
    I'm not clear where this link is that I'm supposed to click to get the connectors. I can't find it anywhere. I do think your right though because I seem to remember seeing it in the last version of Eclipse.
  • Brill Pappin
    Brill Pappin over 12 years
    There is no incompatibility at this time.
  • Rade_303
    Rade_303 about 12 years
    Currently, subversion 1.8 connector for m2e is not supported by m2e team and its corresponding issue in github is marked as "WONTFIX". github.com/sonatype/m2eclipse-subclipse/issues/3
  • hage
    hage almost 12 years
    Thanks the link to the Google discussion really helped us.
  • Chetan Kinger
    Chetan Kinger over 10 years
    I tried out the steps from Bill Pappin's answer but was getting errors. Your answer worked like a charm.. Thanks!
  • rexford
    rexford almost 10 years
    +1, good explanation helped me a lot. I am using subversive instead of subclipse, though, so this was the URL that helped me in step 3 above: repository.tesla.io:8081/nexus/content/sites/m2e.extras/…
  • atom88
    atom88 about 7 years
    Thank you! I liked this answer much better than the one above it. As that ended up installing 2 SVN connectors (if you aren't careful in what you select)
  • watery
    watery over 5 years
    I replaced link in (3) with http://subclipse.tigris.org/m2eclipse/latest/ from this comment (Eclipse complained about a version conflict but offered an alternative installation) and it is still the best solution I found.