Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Maven integration plugin in Eclipse Helios?

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.

like image 494
uncle Lem Avatar asked Sep 24 '13 13:09

uncle Lem


People also ask

Is Maven integration in Eclipse?

M2Eclipse is the official Eclipse project for Maven integration for the Eclipse IDE. Features include: Launching Maven builds from within Eclipse. Dependency management for Eclipse build path based on Maven's pom.

How do I download Maven from Eclipse Marketplace?

Steps to Install Maven in Eclipse IDE Click on the Help from the top menu in Eclipse and select 'Install New Software'.

What is m2e plugin?

The goal of the Eclipse m2e/m2eclipse™ project is to provide a first-class Apache Maven support in the Eclipse IDE, making it easier to edit Maven's pom. xml, run a build from the IDE and much more.


2 Answers

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

like image 173
Shiv Mohan Avatar answered Sep 21 '22 06:09

Shiv Mohan


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

like image 30
Lokesh Avatar answered Sep 21 '22 06:09

Lokesh