Error: m2e Install In Eclipse - 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.

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:
Eclipse -> Help -> Install New Software
Add a new software site:
Name: slf4j
Url: http://www.fuin.org/p2-repository/
Expand "Maven osgi-bundles" and select "slf4j-api"
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 :)

Use the software update site as http://download.eclipse.org/technology/m2e/releases/1.0
That worked for me and got away with the exact same error message.

Plugin team has created a fix for m2e 1.4 & Eclipse Indigo (with this precision : Indigo is no longer officially supported for m2e) :
P2 repository : http://download.eclipse.org/technology/m2e/releases-for-indigo/1.4/
Reference : m2e-users mailing list

Using Helios, and I used this repository to download Maven Integration For Eclipse with no problems.
http://download.eclipse.org/technology/m2e/releases/1.3

That mean the folder eclipse/plugins missing "org.slf4j.api_1.6.4.v20120130-2120.jar", so you need copy the file to eclipse/plugins!

Ubuntu 13.04, Eclipse 3.8.1. For Step 3 all I had to do was add the main juno download site: http://download.eclipse.org/releases/juno and m2e can be installed from there.

This is because maven 1.5 is not compatible with current eclipse version.
So we need to use maven 1.4 or 1.3
Steps to install maven 1.4 is below
1)Click Help in eclipse
2)Install New Software
3)Url for the location of site is "http://download.eclipse.org/technology/m2e/releases"
4)Uncheck the checkbox "Show only the latest versions of available software"
if do not uncheck the checkbox it will only latest version and do not show maven 1.4.
5)Select m2e and slf4j of 1.4 version and click next.

If you're using eclipse Indigo -- It seems to be missing many files. If you download eclipse Kepler it seems to have the files that are lacking in Indigo. May suggest to switch.

I had this problem with the latest version of eclipse Indigo 64bit. I solved installing the latest version of eclipse Juno 64bit.

You can find the org.slf4j.api 1.6.4/1.7.2 on the Orbit repository, which is more reliable than other third party repositories.

The reason Maven can't resolve slf4j is because Maven can't find it in available software site. That is why the suggestion of #Lasse to use another software site works. I would like to point out that the basic root cause is because the atlassian documentation is out-of-date now. So we can just use the latest version of Maven.
Reference: Maven for Eclipse (M2E) Installation error

Related

Unable to install maven plugin for eclipse luna

Iam trying to install maven plugin for eclipse luna through eclipse market place but i get the following error.
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Development Tools 0.3.0.201410040035 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035)
Missing requirement: Maven Development Tools 0.3.0.201409160039 (com.ifedorenko.m2e.mavendev 0.3.0.201409160039) requires 'bundle org.eclipse.m2e.launching [1.6.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Maven Development Tools 0.3.0.201410040035 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035)
To: com.ifedorenko.m2e.mavendev [0.3.0.201409160039]
Please help how can i solve this problem.
All my environment variable are also set correctly.
In fact, I have the same problem on my environment.
In the error message, you can see that the plugin you want to install need the bundle org.eclipse.m2e.launching in following versions (1.6.0 to 2.0.0).
Actually, only version 1.5 of m2e is released. You can install the milestone of version 1.6 by following these instructions.
Help > Install new software...
Paste the following link into the field Work with : http://download.eclipse.org/technology/m2e/milestones/1.6/
Press enter
Select all plugins you need
Click Next and follow the wizard
After this installation, retry the installation of "Maven Development Tools"
I hope this answer will help you.
Try installing through this update site instead:
http://download.eclipse.org/releases/luna/
Use the latest Eclipse EE version it internally consist Maven plugin
The 'Maven Development Tools' you appear to be trying to install requires that the basic 'Maven Integration for Eclipse' (m2e) is already installed.
Some downloads of Eclipse include m2e but others don't.
Install m2e using 'Help > Install New Software...'. Choose the main Luna site to work with. m2e is in the 'Collaboration' section.

Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site.
After selecting Maven Integration for Eclipse, I clicked Next and got the following error:
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
So I searched through the internet to find out how to install the Guava Eclipse plugin. Some say it's from the Eclipse marketplace, but it cannot be downloaded. I downloaded the binary and tried to copy it to Eclipse's plugin directory. Still the same result.
cp ~/Downloads/guava-16.0.1.jar /Applications/eclipse/plugins/com.google.guava_16.0.1.v1234.jar
How do I install the m2e plugin for Kepler?
m2e 1.5.0 requires Eclipse Luna. It will not work with Kepler or Indigo. (thanks to #HDave for the link)
So you have to use an older version of m2e under Kepler.
During installation, uncheck "Show only the latest versions of available software". Then only check the 1.4.1 version or lower version in the candidate list. It doesn't require the Guava dependency.
Make sure you have the Luna repository in "Available Software Sites".
You can add it in : Help -> Install New Software...
Then in the "Work with" input, you type http://download.eclipse.org/releases/luna/ and press enter.
After that, you should be able to install m2e with http://download.eclipse.org/technology/m2e/releases/
You can find Guava 15 on Orbit project - "repository of bundled versions of third party libraries that are approved for use in one or more Eclipse projects". You can also directly add the Orbit project update site to your kepler installation and you'll be able to update m2e
What has helped me for Juno release is adding http://download.eclipse.org/technology/m2e/releases/1.3/ as plugin update site. The version of Maven for Eclipse was 1.3 instead of 1.5 but, for me, this differrence was less principal than the absence of extra dependencies and extra update sites, especially that of the newer version of IDE itself.
Do you necessarily need version 1.5 or 1.3 also should be good?
STEPS TO INSTALL MAVEN (in Eclipse):
Maven Eclipse plugin installation step by step:
Open Eclipse IDE
Click Help -> Install New Software...
Uncheck "Show only the latest versions of available software"
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as"http://download.eclipse.org/technology/m2e/releases"
Check only one 1.4.1 Version.
Now click OK After that installation would be started.
http://download.eclipse.org/technology/m2e/releases
This URL does not work.
http://download.eclipse.org/technology/m2e/releases/1.3/
This one can work.

Getting Maven (M2e and m2e wtp) plugins for use in Eclipse Indigo 3.7.2

I just installed eclipse 3.7.2 and was trying to get Maven plugins for it.
I used Help->Install New Software and used this website to work with:
http://download.eclipse.org/m2e-wtp/releases/juno/
I waited for 4 items to show up including:
2) Maven Intgration for Eclipse
3) Maven Itegration for WTP
and clicked those 2 (middle items). To my chagrin, the result was this:
The operation cannot be completed. See the details.
Details:
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)
I saw that someone else saw this when they were on eclipse 3.6.2 and they no longer saw the error after upgrading to 3.7.
But, I would prefer to use 3.7.2 as it works well with other plugins that I need.
Any help will be greatly appreciated.
I've had the same problem. The latest m2e plugin no longer works with Indigo (3.7.2)
However, there is an archive page here: http://wiki.eclipse.org/M2E_updatesite_and_gittags. This page has a list of old versions of the plugin. I just successfully installed version 1.0 SR2.
Same problem here, I installed successfully version 1.3.1 from http://download.eclipse.org/technology/m2e/releases/1.3/1.3.1.20130219-1424
I have added the below link in "Install New Software" in Indigo.
http://download.eclipse.org/technology/m2e/releases/1.3/1.3.1.20130219-1424
I got two options M2E and SLF4j. Accept them .. After download ..Click Restart.. .
For more versions use the below URL's
https://www.eclipse.org/m2e/m2e-downloads.html
Had the same problem with Indigo Release 2 and this m2e update site worked http://download.eclipse.org/technology/m2e/releases/1.4/?d

Error installing Maven Integration for Eclipse WTP

I am trying to install the gwt-maven-plugin for Eclipse Indigo 3.7.2 (running on Ubuntu), following the instructions here:
http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse
However, when I get to the step to install "Maven Integration for Eclipse WTP", I get the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for WTP (Optional) 0.12.0.20110421-1500 (org.maven.ide.eclipse.wtp.feature.feature.group 0.12.0.20110421-1500)
Missing requirement: Maven Integration for WTP (Optional) 0.12.0.20110421-1500 (org.maven.ide.eclipse.wtp.feature.feature.group 0.12.0.20110421-1500) requires 'org.maven.ide.eclipse.feature.feature.group [0.10.0,1.0.0)' but it could not be found
A similar question on SO suggests to tick the "contact all update sites", but this isn't working for me. I have also added the Galileo & Helios update sites (in addition to Indigo) per a suggestion on this thread: http://www.eclipse.org/forums/index.php/t/206143/
Any other ideas how to resolve this?
I believe m2eclipse has moved to eclipse.org as m2e, with a new update site at http://download.eclipse.org/technology/m2e/releases/ and the newer Maven Integration for WTP (Incubation) feature from http://download.eclipse.org/m2e-wtp/releases/ . Try those.
See http://www.sonatype.com/people/2011/06/where-is-m2eclipse/ .
I had the same problem, using http://download.eclipse.org/m2e-wtp/releases/ to install Maven Integration for WTP helped. Thanks.

M2e is not visible in Eclipse

I'm trying to install m2e plugin to enable maven integration but it looks like plugin is not installed:
What I do:
Maven is already installed in the system and 'mvn --version' works
Help -> Install New Software -> Indigo->General Purpose Tools - m2e
Eclipse restart of course
There is no mention of Maven in eclipse. Not in Window->Preferences, not when creating new project. Nowhere.
Tried different plugin repositories, tried Eclipse Marketplace - nada.
When running Eclipse I get these errors:
org.eclipse.m2e.logback.configuration: SLF4J logger factory is not an instance of LoggerContext: org.slf4j.impl.SimpleLoggerFactory
2 [org.eclipse.jdt.internal.ui.text.JavaReconciler] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Not sure what to do at this point.
Would be grateful for any help!
Leonty
I don't recall what it is called in Indigo. I recently updated to Juno and imported my plugins with no issue. Below is a full list of plugins that I have installed. I'd recommend you uninstall what you have, then search for "Maven Integration". Install that and any other related plugins you will need (i.e. SCM clients).
It is builtin with Indingo, no !?
(Or maybe Indigo WTP)
I am quite sure because I had to re-install Indigo WTP several times