Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing Maven Integration for Eclipse

I'm trying to install Maven integration for Eclipse (Galileo) through Install New Software menu nad using the sonatype link

http://m2eclipse.sonatype.org/sites/m2e

And getting following error:

Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for Eclipse (Required) 0.12.0.20101115-1102 (org.maven.ide.eclipse.feature.feature.group 0.12.0.20101115-1102)
Missing requirement: Maven Integration for Eclipse (Required) 0.12.0.20101115-1102
(org.maven.ide.eclipse.feature.feature.group 0.12.0.20101115-1102) requires 'org.eclipse.emf.ecore.edit 0.0.0' but it could not be found

Tried to search for the missing bundle. But no success. :(

Any help?

like image 915
Pale Blue Dot Avatar asked Nov 28 '10 15:11

Pale Blue Dot


4 Answers

In your install manager, check "Contact all updates sites..." and try again. Since EMF comes from a different update site than M2Eclipse, M2Eclipse cannot be installed without the ability to check all update sites for required components.


UPDATE!

Since Eclipse 3.7 (Indigo), m2e is now hosted at eclipse.org. To install it, you just need to use the default Eclipse update site:

  • http://download.eclipse.org/releases/kepler
  • http://download.eclipse.org/releases/juno
  • http://download.eclipse.org/releases/indigo
  • etc.
like image 128
Andrew Eisenberg Avatar answered Sep 27 '22 21:09

Andrew Eisenberg


Are you using Eclipse CDT? If so, you need to make sure you have the Java Development Tools installed as well. Assuming you're using Helios, use http://download.eclipse.org/releases/helios/ as an update site and install the JDT tools from the list of features under "Programming Languages". I had the same problem and that solved it for me.

like image 34
deuberger Avatar answered Sep 27 '22 19:09

deuberger


Since Eclipse 3.7 (Indigo), m2e is now hosted at eclipse.org. To install it, you just need to use the default Eclipse update site:

http://download.eclipse.org/releases/kepler
http://download.eclipse.org/releases/juno
http://download.eclipse.org/releases/indigo
etc.

Hence, for getting maven in eclipse indigo please refer the answer highlighted in yellow color alongwith screenshot at below link

eclipse indigo marketplace Maven Integration install error

like image 29
Kishor Avatar answered Sep 27 '22 19:09

Kishor


I have the same issue (btw, "contact all update sites" is default). I found this bugreport in eclipse bugzilla which kind of indicates that we are having an issue in the plugin itself.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=330896

A workaround for me is to fall back to older versions of m2eclipse / m2eclipse extras / subversive integration. I used the following URLs:

  • http://m2eclipse.sonatype.org/sites/archives/m2e-0.10.2.20100623-1649/
  • http://m2eclipse.sonatype.org/sites/archives/m2e-extras-20101029/
  • http://community.polarion.com/projects/subversive/download/integrations/helios-site/
like image 45
Jan Groth Avatar answered Sep 27 '22 19:09

Jan Groth