How to install Maven integration plugin in Eclipse Helios? - eclipse

I'm trying to install Maven integration plugin in Eclipse Helios via Marketplace, but I'm receiveing "cannot satisfy dependency" error:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: async-http-client 1.6.5.20130531-2315 (com.ning.async-http-client 1.6.5.20130531-2315) requires 'package org.slf4j 1.6.2' but it could not be found
Cannot satisfy dependency:
From: Maven Archetype Common Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.archetype.common 1.4.0.20130531-2315)
To: bundle org.eclipse.m2e.maven.runtime [1.4.0,1.5.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.archetype.common [1.4.0.20130531-2315]
Cannot satisfy dependency:
From: Embedded Maven Runtime Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.runtime 1.4.0.20130531-2315)
To: bundle com.ning.async-http-client [1.6.5,1.6.6)
Do you have any ideas how it could be done?
Unfortunately, upgrading Eclipse is not an option in my case.

I believe you must be trying the following URL in the update site:
http://download.eclipse.org/technology/m2e/releases
Try using:
http://download.eclipse.org/technology/m2e/releases/1.3

In your install manager, check "Contact all updates sites" . This should resolve the problem as sometimes dependencies come form different sites.

Dated : 2015-June-04
I was trying to do the same for IBM RAD 8.5.0 which is built on Eclipse 3.6 i.e Helios Platform.
I tried using the below link and it works fine.
http://download.eclipse.org/technology/m2e/releases/1.4
Also uncheck the "Show only the latest versions of available software" this gives you all the versions that are compatable with your current version.

Related

m2e extension is not installing in Eclipse Luna

When I am installing the m2e extension, it is giving me below error:
I am using this url to download: http://download.eclipse.org/technology/m2e/releases
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.1.20150625-2338 (org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338)
Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: m2e Marketplace 1.6.1.20150625-2338 (org.eclipse.m2e.discovery 1.6.1.20150625-2338)
To: bundle org.eclipse.m2e.core [1.6.0,1.7.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.1.20150625-2338 (org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338)
To: org.eclipse.m2e.discovery [1.6.1.20150625-2338]
Try to use below link:
http://download.eclipse.org/technology/m2e/releases/1.4
You might be using older version of eclipse and trying to install latest version of maven.
What worked for me when installing m2e 1.6.2 into Eclipse 4.2.2 (Luna SR2) was add the Orbit project Guava: Google Core Libraries for Java 15.0 bundle from the Orbit project into Eclipse before installing m2e.
(The install error I initially got said m2e 1.6.2 is looking for the Guava 14 bundle, which I could not locate in any of the recommended Orbit builds, but Guava 15 seems to be working just fine so far, and indeed the Guava 15 bundle is what the Luna SR2 Eclipse IDE for Java Developers uses.)
I used this URL for the Orbit build repository for Luna SR2: http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/
This specific link could be unstable over time, or maybe you are reading this because of issues with different versions of Eclipse or m2e, so in those cases it would be a good idea to check the Orbit downloads page to find the right Orbit build for to match your Eclipse release.
For those who are not old Eclipse hands, here is step by step what I did to install the Orbit Guava bundle into Eclipse 4.4.2:
From the Eclipse menu: Help > Install New Software...
Click on the Add button. In the resulting dialog, enter:
Name: Orbit Repository for Eclipse Luna SR2 (4.4.2)
Location: http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/
Click OK
Once this repository is added to your Eclipse configuration, the m2e feature installation process will be able to find and install the Guava bundle automatically.
The m2e installation may also want to update other packages, so it is a good idea to have the Eclipse Luna update site available prior to the m2e feature install:
Click the Add button again. In the resulting dialog, enter:
Name: Eclipse Update Site
Location: http://download.eclipse.org/eclipse/updates/4.4
Click OK
It's also worth noting that the m2e 1.6.x release line is included in Mars, while the 1.5.x is included in Luna, so that it might be a more conservative choice to use a 1.5 release rather than a 1.6 release.
I can give you a quick answer : Ignore the error.
Actually I'm not quite sure this is the right solution but at least for me it worked just fine. I'm sharing my case because it might help someone.
While I was installing m2e extension, I met the same error message you met. But I ignored the error and was able to continue installing. And then the installation have finished successfully.
Click and take a look at the image
: Install Remadiation Page
I saw the error when I clicked "show original error ... ". But I think it's OK to choose "Keep my installation ... " and click "Next" to continue

Unable to install m2e-wtp on eclipse juno

1) Error message -
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp.feature.feature.group 1.0.1.20130911-1545)
Missing requirement: Maven Integration for Eclipse WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp 1.0.1.20130911-1545) requires 'bundle org.eclipse.jst.jee.web 0.0.0' but it could not be found
Cannot satisfy dependency:
From: m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp.feature.feature.group 1.0.1.20130911-1545)
To: org.eclipse.m2e.wtp [1.0.1.20130911-1545]
This is while importing maven's poms directly. Whats the impact if not installed?
2) Is system admin access required on the box to uninstall 'default'plugins and softwares in eclipse juno?
Removed this eclipse plugin and I am able to import the project's poms as well.
(one of the classic cases compatibility of different plugin's version on the IDE)

Maven for Eclipse (M2E) Installation error

Error Details:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: Maven Integration for Eclipse (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.editor [1.4.0.20130601-0317]`
Getting the above mentioned error when installing M2E in Eclipse. The M2E URL that I used is
http://download.eclipse.org/technology/m2e/releases
As of late 2011, the M2Eclipse project was donated to the Eclipse foundation by Sonatype and is now called simply M2E. As of the Indigo JEE SR2 release, this plugin can be found in the pre-configured "Indigo" update site contained inside Eclipse, so you don't have to add any new update site.
To install, do the following:
Launch Eclipse; select the Help->Install New Software menu item.
Select the "Indigo" update site and wait for the software choices to
pop up in the table in the lower portion of this "Install" dialog (it
can take up to a minute).
In the table, select "General Purpose
Tools" and then "M2E - Maven Integration for Eclipse", click Next and
finish the installation of the plugin.
Restart Eclipse as directed.
Sometimes, for older Eclipse, like Helios, version 1.5 or 1.4 throws similar error. You can try with 1.3 in that case :
http://download.eclipse.org/technology/m2e/releases/1.3

Can't install maven plugin for eclipse on Ubuntu 12.04

I tried install at eclipse Indigo - Version: 3.7.2, Maven plugin.
Here step by step what I did:
Help => Install new software... => Work with => add http://download.eclipse.org/technology/m2e/releases location => Tick Maven integration for eclipse => next.
But it wasn't finished and pop up:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
But when I looking for at Window => Preferences, Maven doesn't exist.
I want to update eclipse to kepler version. I added needs repository to
Window - Preferences - Install/Update - Available Softsarve..
And when I went to Help - Check for Updates I saw next error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Equinox p2 RCP Management Facilities Source 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.rcp.feature.source.feature.group 1.2.0.v20130604-2046)
Software currently installed: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
Only one of the following can be installed at once:
Simple Configurator Manipulator 2.0.0.v20130327-2119 (org.eclipse.equinox.simpleconfigurator.manipulator 2.0.0.v20130327-2119)
Simple Configurator Manipulator 2.0.0.dist (org.eclipse.equinox.simpleconfigurator.manipulator 2.0.0.dist)
Cannot satisfy dependency:
From: Equinox p2 Core Function 1.0.1.dist-8291FXcFLhV8CJ871602A41 (org.eclipse.equinox.p2.core.feature.feature.group 1.0.1.dist-8291FXcFLhV8CJ871602A41)
To: org.eclipse.equinox.simpleconfigurator.manipulator [2.0.0.dist]
Cannot satisfy dependency:
From: Equinox p2 Core Function 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.core.feature.feature.group 1.2.0.v20130604-2046)
To: org.eclipse.equinox.simpleconfigurator.manipulator [2.0.0.v20130327-2119]
Cannot satisfy dependency:
From: Equinox p2 RCP Management Facilities 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.rcp.feature.feature.group 1.2.0.v20130604-2046)
To: org.eclipse.equinox.p2.core.feature.feature.group [1.2.0.v20130604-2046]
Cannot satisfy dependency:
From: Equinox p2 RCP Management Facilities Source 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.rcp.feature.source.feature.group 1.2.0.v20130604-2046)
To: org.eclipse.equinox.p2.rcp.feature.feature.group [1.2.0.v20130604-2046]
Cannot satisfy dependency:
From: Equinox p2 Provisioning for IDEs. 2.1.2.dist-6-Bk8lt6MLqLsEf6-RFpFIpRdhQG (org.eclipse.equinox.p2.user.ui.feature.group 2.1.2.dist-6-Bk8lt6MLqLsEf6-RFpFIpRdhQG)
To: org.eclipse.equinox.p2.core.feature.feature.group [1.0.1.dist-8291FXcFLhV8CJ871602A41]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
To: org.eclipse.equinox.p2.user.ui.feature.group [2.1.2.dist-6-Bk8lt6MLqLsEf6-RFpFIpRdhQG]
How to solve this and install Maven plugin?
Try setting the option "Contact all updates sites..." in the Installation Manger and make sure that the download site for Indigo (http://download.eclipse.org/releases/indigo) is checked.
This should be the updatesite containing your m2e Installation anyway, since the downloadsite you used contains the LATEST maven built, which is not 3.7.2 .
If you want to use a newer Eclipse, use KEpler with the updatesite http://download.eclipse.org/releases/kepler.
If that doesn't work, please post the new error.

maven plugin install in eclipse, Missing requirement: org.eclipse.platform.feature.group 3.6.0

My eclipse version is indigo.
I install maven plugin from eclipse install/update:
help ---> install new software --->add,
URL: http://download.eclipse.org/technology/m2e/releases
“Maven Integration for Eclipse” shown, I selected it,"next",
then, error happend:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
Missing requirement: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717) requires 'org.eclipse.platform.feature.group 3.6.0' but it could not be found
I don't know what's "org.eclipse.platform.feature.group 3.6.0", I tried to search for install it but I can't.
Wish your response. thx.
Why not to use Eclipse Marketplace? Help -> Eclipse Marketplace... and then install Maven Integration for Eclipse and optionally Maven Integration for Eclipse WTP. It works for me.
Please try to use this URL instead of yours: http://m2eclipse.sonatype.org/sites/m2e/