I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site.
我下载了Eclipse Kepler,并尝试从其更新站点安装M2Eclipse。
After selecting Maven Integration for Eclipse, I clicked Next and got the following error:
选择Maven Integration for Eclipse后,我单击Next并收到以下错误:
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
缺少要求:Maven Integration for Eclipse 1.5.0.20140606-0033(org.eclipse.m2e.core 1.5.0.20140606-0033)需要'bundle com.google.guava [14.0.1,16.0.0)'但无法找到
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.
所以我通过互联网搜索了解如何安装Guava Eclipse插件。有人说它来自Eclipse市场,但无法下载。我下载了二进制文件,并尝试将其复制到Eclipse的插件目录中。结果仍然相同。
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插件?
6 个解决方案
#1
83
m2e 1.5.0 requires Eclipse Luna. It will not work with Kepler or Indigo. (thanks to @HDave for the link)
m2e 1.5.0需要Eclipse Luna。它不适用于Kepler或Indigo。 (感谢@HDave的链接)
So you have to use an older version of m2e under Kepler.
所以你必须在Kepler下使用较旧版本的m2e。
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.
在安装过程中,取消选中“仅显示可用软件的最新版本”。然后只检查候选列表中的1.4.1版本或更低版本。它不需要番石榴依赖。
#2
25
Make sure you have the Luna repository in "Available Software Sites".
确保您在“可用软件站点”中拥有Luna存储库。
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.
您可以将其添加到:帮助 - >安装新软件...然后在“使用”输入中,键入http://download.eclipse.org/releases/luna/并按Enter键。
After that, you should be able to install m2e with http://download.eclipse.org/technology/m2e/releases/
之后,您应该可以使用http://download.eclipse.org/technology/m2e/releases/安装m2e。
#3
9
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
您可以在Orbit项目中找到Guava 15 - “批准在一个或多个Eclipse项目中使用的第三方库的捆绑版本的存储库”。您也可以直接将Orbit项目更新站点添加到您的kepler安装中,您就可以更新m2e
#4
2
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.
帮助我发布Juno的是将http://download.eclipse.org/technology/m2e/releases/1.3/添加为插件更新站点。 Maven for Eclipse的版本是1.3而不是1.5,但对我来说,这种差异不是缺少额外的依赖关系和额外的更新站点,尤其是较新版本的IDE本身。
Do you necessarily need version 1.5 or 1.3 also should be good?
你是否一定需要版本1.5或1.3也应该是好的?
#5
2
STEPS TO INSTALL MAVEN (in Eclipse):
安装MAVEN的步骤(在Eclipse中):
Maven Eclipse plugin installation step by step:
Maven Eclipse插件安装一步一步:
Open Eclipse IDE
打开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"
在弹出窗口中:将Name填写为“M2Eclipse”,将Location填写为“http://download.eclipse.org/technology/m2e/releases”
Check only one 1.4.1 Version.
只检查一个1.4.1版本。
Now click OK After that installation would be started.
现在单击“确定”。此安装将开始。
#6
0
http://download.eclipse.org/technology/m2e/releases This URL does not work.
http://download.eclipse.org/technology/m2e/releases此URL不起作用。
http://download.eclipse.org/technology/m2e/releases/1.3/ This one can work.
http://download.eclipse.org/technology/m2e/releases/1.3/这个可以工作。
#1
83
m2e 1.5.0 requires Eclipse Luna. It will not work with Kepler or Indigo. (thanks to @HDave for the link)
m2e 1.5.0需要Eclipse Luna。它不适用于Kepler或Indigo。 (感谢@HDave的链接)
So you have to use an older version of m2e under Kepler.
所以你必须在Kepler下使用较旧版本的m2e。
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.
在安装过程中,取消选中“仅显示可用软件的最新版本”。然后只检查候选列表中的1.4.1版本或更低版本。它不需要番石榴依赖。
#2
25
Make sure you have the Luna repository in "Available Software Sites".
确保您在“可用软件站点”中拥有Luna存储库。
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.
您可以将其添加到:帮助 - >安装新软件...然后在“使用”输入中,键入http://download.eclipse.org/releases/luna/并按Enter键。
After that, you should be able to install m2e with http://download.eclipse.org/technology/m2e/releases/
之后,您应该可以使用http://download.eclipse.org/technology/m2e/releases/安装m2e。
#3
9
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
您可以在Orbit项目中找到Guava 15 - “批准在一个或多个Eclipse项目中使用的第三方库的捆绑版本的存储库”。您也可以直接将Orbit项目更新站点添加到您的kepler安装中,您就可以更新m2e
#4
2
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.
帮助我发布Juno的是将http://download.eclipse.org/technology/m2e/releases/1.3/添加为插件更新站点。 Maven for Eclipse的版本是1.3而不是1.5,但对我来说,这种差异不是缺少额外的依赖关系和额外的更新站点,尤其是较新版本的IDE本身。
Do you necessarily need version 1.5 or 1.3 also should be good?
你是否一定需要版本1.5或1.3也应该是好的?
#5
2
STEPS TO INSTALL MAVEN (in Eclipse):
安装MAVEN的步骤(在Eclipse中):
Maven Eclipse plugin installation step by step:
Maven Eclipse插件安装一步一步:
Open Eclipse IDE
打开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"
在弹出窗口中:将Name填写为“M2Eclipse”,将Location填写为“http://download.eclipse.org/technology/m2e/releases”
Check only one 1.4.1 Version.
只检查一个1.4.1版本。
Now click OK After that installation would be started.
现在单击“确定”。此安装将开始。
#6
0
http://download.eclipse.org/technology/m2e/releases This URL does not work.
http://download.eclipse.org/technology/m2e/releases此URL不起作用。
http://download.eclipse.org/technology/m2e/releases/1.3/ This one can work.
http://download.eclipse.org/technology/m2e/releases/1.3/这个可以工作。