简体   繁体   中英

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?

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:

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.

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

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:

the majority of eclipse does not suport maven 3.5 iven 1.8. to install maven you must go to halp--install new software Name:M2Eclipse location: http://download.eclipse.org/technology/m2e/releases/1.4

for helios: http://download.eclipse.org/technology/m2e/releases/1.3

In order to install the new m2e (1.4) on helios, i had to uninstall all maven elements in eclipse and then, i could install m2e from http://download.eclipse.org/technology/m2e/releases ".

Steps to uninstall existing maven elements ( from org.maven.ide.*) :

  1. Click in Help in eclipse
  2. Install New Software...
  3. Click on What is already installed
  4. Select all item from org.maven.ide.* (even if it's Required)
  5. uninstall them all

Another way of installing the Maven plug-in for Eclipse:

  • Open Eclipse
  • Go to Help -> Eclipse Marketplace
  • Search by Maven
  • Click "Install" button at "Maven Integration for Eclipse" section
  • Follow the instruction step by step
  • After successful installation do the followings in Eclipse:
    • Go to Window -> Preferences
    • Observe, Maven is enlisted at left panel
    • Click on an existing project
    • Select Configure -> Convert to Maven Project

Make sure that you checkmark contact all update sites during install to find request software before click to next of the installation of Maven Integration for Eclipse & m2e-slf4j over logback logging (Optional).

i was facing same problem, right now it has solve by doing the above. Hope this will helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM