I am trying to install maven 1.5 in eclipse unfortunately I am getting errors like:
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.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
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
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
To: org.eclipse.m2e.core [1.5.0.20140606-0033]
EClipse juno doesnt support maven 1.5..still they have not added capability of 1.5
so try 1.4 or 1.3
http://download.eclipse.org/technology/m2e/releases/1.3
http://download.eclipse.org/technology/m2e/releases/1.4
MAVEN INSTALLATION
OPTION 1 :
OPTION 2 :-
After successful installation do the followings in Eclipse:
Finally,
This is because maven 1.5 is not compatible with eclipse juno. So we need to use maven 1.4 or 1.3
Steps to install maven 1.4 is below
Note: maven v 1.3 is compatible, correct url for juno: download.eclipse.org/technology/m2e/releases/1.3
If all the above options don't work, then first install the WST plugin in your eclipse.
In order to do that, in Eclipse Juno, go to Install New Software > Add
, under Name
place Juno
and under Location URL
insert http://download.eclipse.org/releases/juno
.
Then, select WST Server Adapters
under Web, XML, Java, ...
(last option of the list).
Accept licensing agreement and restart Eclipse.
Then resume the usual procedure to install Maven.
Choose menu Help \\ Install New Software...
, then add this repository link:
http://download.eclipse.org/technology/m2e/releases/1.2/1.2.0.20120903-1050/
Then install for Eclipse WTP (Web Tool Platform) Juno 4.2.
取消选中“仅选择此软件的最新版本”选项,以便显示与您的 eclipse 兼容的插件版本,您可以选择其中之一。
download.eclipse.org/technology/m2e/releases/1.3
has worked for Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2 Build id: 20120216-1857
Thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.