Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 651
Howy Avatar asked Jun 29 '14 18:06

Howy


2 Answers

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.

like image 55
Richard Avatar answered Sep 18 '22 19:09

Richard


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/

like image 33
amanteaux Avatar answered Sep 20 '22 19:09

amanteaux