Error while installing Maven Integration for Eclipse
Asked Answered
S

8

21

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?

Sebastien answered 28/11, 2010 at 15:35 Comment(2)
[email protected] is a more likely place to get useful help.Mulciber
IF the answers here do not work for you, try this linked question: #12968804Alexalexa
N
51

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:

Nataline answered 28/11, 2010 at 17:3 Comment(2)
I additionally needed to add the helios update site download.eclipse.org/releases/helios.Mic
this worked link champ for me. I am using juno for my project.Francescafrancesco
C
7

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.

Cervantes answered 6/12, 2010 at 22:30 Comment(0)
K
5

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

Khosrow answered 13/5, 2014 at 6:55 Comment(0)
G
3

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:

Gory answered 29/11, 2010 at 13:35 Comment(0)
N
1

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

Nantucket answered 31/10, 2017 at 13:6 Comment(2)
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From ReviewOeuvre
The link indicated in the topic is an setup program to solve the error related aboveNantucket
R
0

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
Recover answered 24/12, 2013 at 13:47 Comment(0)
M
0

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
Mystify answered 13/12, 2014 at 9:17 Comment(0)
W
0

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.

Wedekind answered 26/7, 2015 at 14:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.