Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: m2e Install In Eclipse

I've been attempting to install Maven Integration for Eclipse and I've received these errors.

    Cannot complete the install because one or more required items could not be found.   Software being installed: m2e - slf4j over logback logging (Optional) 1.4.0.20130601-0317 (org.eclipse.m2e.logback.feature.feature.group 1.4.0.20130601-0317)   Missing requirement: Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core.ui 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found   Cannot satisfy dependency:     From: m2e logback appender 1.4.0.20130601-0317 (org.eclipse.m2e.logback.appender 1.4.0.20130601-0317)     To: bundle org.eclipse.m2e.core.ui [1.4.0,1.5.0)   Cannot satisfy dependency:     From: m2e - slf4j over logback logging (Optional) 1.4.0.20130601-0317 (org.eclipse.m2e.logback.feature.feature.group 1.4.0.20130601-0317)     To: org.eclipse.m2e.logback.appender [1.4.0.20130601-0317] 

My process has been Help >> EclipseMarketplace >> Search "Maven Integration for Eclipse" >> Install (m2e)

Please help.

Edit

After running into a plethora of issues, the decision was made to uninstall Eclipse Indigo 3.6.2 and install Indigo 3.7 (as per the standards of the company I currently work at). After taking this course of action, all issues with installations (maven and otherwise) were resolved.

like image 638
Rachel_Franz Avatar asked Jun 27 '13 20:06

Rachel_Franz


People also ask

What is m2e in Eclipse?

m2e is a popular Eclipse IDE plugin with stated project goal "to provide a first-class Apache Maven support in the Eclipse IDE".

Which Maven plugin to Install In Eclipse?

Let's add m2e plugin to Eclipse (so it can handle maven projects)! Select "Indigo - http://download.eclipse.org/releases/indigo" from the drop-down list next to the "Add..." button. Wait until it fetches the repository.

What is m2e in Maven?

M2Eclipse provides tight integration for Apache Maven into the Eclipse IDE with the following features: Launching Maven builds from within Eclipse. Dependency management for Eclipse build path based on Maven's pom. xml. Resolving Maven dependencies from the Eclipse workspace without installing to local Maven repository.


1 Answers

I ran into a similar issue today and found that this question also has recently been asked and answered at the atlassian forum as well. My solution was to install slf4j based on guidelines from this blog post about "SLF4J Logging in Eclipse Plugins".

To extract, here is what I did:

  1. Eclipse -> Help -> Install New Software
  2. Add a new software site:
    • Name: slf4j
    • Url: http://www.fuin.org/p2-repository/
  3. Expand "Maven osgi-bundles" and select "slf4j-api"
  4. Click "Next" and follow the installation.

After the installation has completed (and Eclipse has been restarted) I was then able to install the maven plugin.

UPDATE:

Some of the other answers in this thread now contain links to offical package repositories. I haven't tested if they are working, but if you would prefer to use an official repository, now you know where to find them :)

like image 181
Lasse Christiansen Avatar answered Nov 08 '22 09:11

Lasse Christiansen