15

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:

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

Community
  • 1
  • 1
DavideChicco.it
  • 3,318
  • 13
  • 56
  • 84

6 Answers6

29

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

dunni
  • 43,386
  • 10
  • 104
  • 99
2

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

Phani Kumar
  • 61
  • 2
  • 10
1

I have recently run into same issue and found solution, as preferences trick mentioned in this post did not work for me. All you need to do is to go back to your SVN installation (tested for subversive, guess similar for subclipse) and check m2e integration plug-in.

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

Pawel
  • 49
  • 4
0

I have a workaround , since I was not able to find m2e-subclipse in Window -> Preferences -> Maven -> Discovery.You need to check out the project.Once done, right click on the Project Explorer and Import->Maven->Existing Maven Project and select the checked out project and click Finish.

S A
  • 187
  • 1
  • 2
  • 7
0

Just a heads up for anybody seeing this again for future versions of Eclipse.

Sonatype is no longer maintaining this:

You can either use the fork currently being maintainted in github [https://github.com/subclipse/m2e]: https://dl.bintray.com/subclipse/releases/m2e/1.0.x/

Or you can use the eclipse maintained link for the eclipse version: https://download.eclipse.org/technology/m2e/releases/1.9/1.9.1.20180912-1601/

Install either one by using the "install new software" link in Eclipse above "Eclipse Marketplace"

Eclipse installation

sclaybon3
  • 21
  • 4
0

I used eclipse version 2022-12 from this website https://mergedoc.osdn.jp/
After I face this problem and try many ways. Finally, I got the solution.

  1. Right-click on repo
  2. Select Find/Check Out As...
  3. Choose Check out as a project with the name specified, then input your project name alias
  4. After checkout is finished. Right-click on the project.
  5. Select Configure > Convert to Maven Project.
MRK911
  • 1
  • 2