Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Maven: no "Checkout Maven project from SCM" option

I have to compile and run a Maven project that some colleagues of mine developed some years ago. I'm using Eclipse Helios on Microsoft Windows Server 2008.

In their documentation about how to compile it with Eclipse, I read that I have to install on my Eclipse:

  • Maven plugin (from http://m2eclipse.sonatype.org/sites/m2e )
  • Maven plugin extra (from http://m2eclipse.sonatype.org/sites/m2e-extras )
  • Subclipse plugin ( http://subclipse.tigris.org )

After installed these plugins, their document says to select the option "Checkout Maven Project from SCM" and other operations.

I've tried to install these plugins, but, first, I realized that they are antiquated. I discovered that Maven Plugin changed name and address (now is Maven Integration for Eclipse 1.2), and that Maven Plugin Extra does not exist anymore. Subclipse, instead, is available.

So I installed these plugins, but, afterwords, no "Checkout Maven Project from SCM" functionality was present on my Eclipse. Then I searched online to solve this problem, and I found this thread on StackOverflow.com. It suggested to install the Maven SCM handler for Subclipse. I've searched it on the plugin repository of Elcipse but it does not exist anymore.

Which Eclipse plugin may I use to get the "Checkout Maven Project from SCM" functionality on my Eclipse IDE ?

Thanks a lot

like image 427
DavideChicco.it Avatar asked Dec 19 '12 10:12

DavideChicco.it


2 Answers

When you go to Window -> Preferences -> Maven -> Discovery, you have a button "Open Catalog", which opens a plugin marketplace specific to the m2e plugin. There you'll find a plugin called m2e-subclipse, which should give you the appropriate options:

enter image description here

like image 58
dunni Avatar answered Oct 28 '22 22:10

dunni


Change the installed sub version to have m2 plugin. then check out as maven shows up.

Eclipse Marketplace -> Installed -> Subversive SVN -> Change -> Subversive SVN Integration for the M2E Project (Optional) and install it.

see images below. enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

like image 26
Phani Kumar Avatar answered Oct 29 '22 00:10

Phani Kumar