I've updated my eclipse indigo to juno via the Help->Check for updates menu.
I noticed I had updates for egit (2.x) and jgit (2.x) which clashed with my current installations (1.3.x) and so I removed all my egit plugins (eigt,jgit,egit-mylyn and Maven SCM Handler for EGit). I then tried to install the above egit plugins and was able to install egit and jgit but was unable to install Maven SCM Handler for EGit.
I tried updating grvia the m2e marketplace and got the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
Software currently installed: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
Only one of the following can be installed at once:
Git Team Provider Core 2.0.0.201206130900-r (org.eclipse.egit.core 2.0.0.201206130900-r)
Git Team Provider Core (Incubation) 0.8.4 (org.eclipse.egit.core 0.8.4)
Git Team Provider Core 1.1.0.201109151100-r (org.eclipse.egit.core 1.1.0.201109151100-r)
Git Team Provider Core 1.3.0.201202151440-r (org.eclipse.egit.core 1.3.0.201202151440-r)
Git Team Provider Core (Incubation) 0.11.1 (org.eclipse.egit.core 0.11.1)
Git Team Provider Core (Incubation) 0.9.1 (org.eclipse.egit.core 0.9.1)
Git Team Provider Core 1.0.0.201106090707-r (org.eclipse.egit.core 1.0.0.201106090707-r)
Cannot satisfy dependency:
From: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
To: org.eclipse.egit.core [2.0.0.201206130900-r]
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit 0.14.0.201110251725)
To: bundle org.eclipse.egit.core [1.0.0,2.0.0)
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
To: org.sonatype.m2e.egit [0.14.0.201110251725]
I guessed from the error that the artifact which is in the marketplace is not yet up-to-date and so I tried to download the latest m2e-git from the nexus repository but I didn't really knew what to do with it.
I placed the contents in a subdirectory of the plugins folder and did not see it appear in the "what is installed" dialog so I'm assuming it didn't work.
Has anyone managed to get this to work?
Yes, this has been an issue for other m2e connectors as well since Juno was released. I've posted the steps that I used to get around this issue here.
Here are the instructions:
Click Help
Click Install New Software
Uncheck the box labeled Group items by category (this step is important or you won't see the connector in the table)
Paste in this URL http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
Finish the plugin install wizard and restart the workspace
This will work for Eclipse 4.3 (Kepler): http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
Remember to uncheck the box labeled Group items by category
I took the code from git and created a build that works with keppler + m2eclipse 0.14 + egit 3.x.
Use this update URL: https://github.com/micw/m2eclipse-egit-builds/raw/master/0.14.0.201401300919/
Don't forget to uncheck "Group items by category" or you won't see the package in eclipse's software manager.
Update 2014-01-30: I built the latest git version which allows to be used with any EGit 3.x version. Please use the new update URL in this post. I verified that it works with latest EGit 3.2.x
Install the handler from
http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
It works for Kepler SR1.
I was able to get it working with the following configuration.
Eclipse Luna SR1 Eclipse
Egit Team Provider 3.7.0 (I had updated the
plugin via eclipse marketplace)
M2E egit 0.14 (Installed via eclipse
marketplace).
Initially I was also getting the error while installing m2e-egit but once I updated the Egit eclipe plugin, installation of m2e-egit worked perfectly.Hope it helps.
Related
I have installed the version 3.5.1 of Anypoint Studio (for Mule ESB development). This version of Anypoint Studio appears to be based on Eclipse 3.8 (propably 3.8.2)
I want to install EGit, but encountered some problems.
Using the following download site in the 'Install new software' window:
http://download.eclipse.org/egit/updates
i selected Eclipse Git Team Provider (including all sub modules) for installation, and clicked the 'Next' button.
I then get this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Task focused interface for Eclipse Git Team Provider 3.4.1.201406201815-r (org.eclipse.egit.mylyn.feature.group 3.4.1.201406201815-r)
Missing requirement: Git Team Provider UI 3.4.1.201406201815-r (org.eclipse.egit.ui 3.4.1.201406201815-r) requires 'bundle org.eclipse.e4.ui.css.swt.theme 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Task focused interface for Eclipse Git Team Provider 3.4.1.201406201815-r (org.eclipse.egit.mylyn.feature.group 3.4.1.201406201815-r)
To: org.eclipse.egit.mylyn.ui [3.4.1.201406201815-r]
Cannot satisfy dependency:
From: EGit Mylyn UI 3.4.1.201406201815-r (org.eclipse.egit.mylyn.ui 3.4.1.201406201815-r)
To: package org.eclipse.egit.ui [3.4.1,3.5.0)
How can i resolve this problem?
I hava a feeling that i should install an older version of EGit, since Anypoint Studio is based on a rather old version of Eclpise.
I see here that this version of Eclipse should propably have EGit version 3.3.1, but how do I find and install this version?
Use http://archive.eclipse.org/egit/updates-3.3.1 as the download site in 'Install New Software'
If you need another version, see also older versions of Egit.
I had a very similar error. Older versions refused to install as well. I tried installing first Mylyn from latest and it worked.
When I try to install EGit via the update URL or marketplace I get the following error:
Cannot complete the install because one or more required items could
not be found. Software being installed: Eclipse Git Team Provider
3.2.0.201312181205-r (org.eclipse.egit.feature.group 3.2.0.201312181205-r) Missing requirement: Git Team Provider UI 3.2.0.201312181205-r (org.eclipse.egit.ui 3.2.0.201312181205-r) requires 'bundle org.eclipse.team.core [3.6.100,4.0.0)' but it could
not be found Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.2.0.201312181205-r (org.eclipse.egit.feature.group 3.2.0.201312181205-r)
To: org.eclipse.egit.ui [3.2.0.201312181205-r]
My FDT5 is up to date.
Can I somehow install the org.eclipse.team.core bundle to solve the dependency?
As said, FDT ships on Eclipse Juno (4.2) on which EGit has tested to work smoothly.
You can install EGit by:
Help > Install New Software
Click on Available Software Sites
Check in Juno (http://download.eclipse.org/releases/juno)
Click OK to close
From Work with select choose Juno
Check in Collaboration > Eclipse EGit
We've also tested JGit to work smoothly.
I don't know what FDT 5 is, but from the error it looks like it is based on an old version of the Eclipse Platform.
EGit 3.2 requires Eclipse Platform >= 3.8.2/4.2.2, see What versions of Eclipse does EGit target? in the FAQ.
Either upgrade FDT or try installing an older version of EGit such as 2.3.1, see Where can I find older releases of EGit?.
Today I installed Maven plugin (m2e) from eclipse markerplace. Now I want to checkout a project from github. The "Check out Maven Projects from SCM" dialog grays out the "SCM type" drop down list so I clicked on a link to install a connector for git.
I found the connecter "m2e-egit" in another dialog, so I checked it, click Finish. It fails with the following message:
Operation details
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven SCM Handler for EGit 0.14.0.201207041402 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201207041402)
Missing requirement: Maven SCM Handler for EGit 0.14.0.201207041402 (org.sonatype.m2e.egit 0.14.0.201207041402) requires 'bundle org.eclipse.egit.core [1.0.0,3.0.0)' but it could not be found
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201207041402 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201207041402)
To: org.sonatype.m2e.egit [0.14.0.201207041402]
It claims I do not have EGit installed, but I can confirm that I have installed Eclipse EGit version 3.1.0.20131021548-r from "About Eclipse Features" dialog.
Other information I can find out:
Eclipse : Kelper Service Release 1 - build id 20130919-0819
Eclipse.org - m2e : 1.4.0.20130601-0317
How can I fix this and check out my maven project from github?
The version of m2e-egit in the Marketplace is outdated and won't work with the latest version of egit. This can be fixed by manually installing the most recent version, as described in the thread Can't install Maven SCM Handler for EGit for Juno.
Click Help
Click Install New Software
Visit http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/ and copy the URL to the most recent subdirectory.
Paste in this URL (currently http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201401060023/) and type enter, or click 'Add...' to save it for future reference
Uncheck the box labeled Group items by category (this step is important or you won't see the connector in the table)
Finish the plugin install wizard and restart the workspace
installed EGit plugin for eclipse successfully but Mylyn GitHub connector is not installing on eclipse.here i am adding the error details
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse EGit Mylyn GitHub Feature 2.3.0.201302130906 (org.eclipse.mylyn.github.feature.feature.group 2.3.0.201302130906)
Missing requirement: Mylyn GitHub Connector UI 2.3.0.201302130906 (org.eclipse.mylyn.github.ui 2.3.0.201302130906) requires 'package org.eclipse.egit.core [2.3.0,2.4.0)' but it could not be found
Cannot satisfy dependency:
From: Eclipse EGit Mylyn GitHub Feature 2.3.0.201302130906 (org.eclipse.mylyn.github.feature.feature.group 2.3.0.201302130906)
To: org.eclipse.mylyn.github.ui [2.3.0.201302130906]
That happens if your eclipse version is too old, as detailled in bug 365425
Make sure your Eclipse is at least 3.7 or more recent.
The latest EGit 3.0.x would require an Eclipse Kepler 4.3.
Happened to me yesterday because GitHub Mylyn Connector (http://download.eclipse.org/egit/github/updates) was missing in Eclipse Window / Preferences / Install/Update / Available Software Sites and Eclipse tried to retrieve the obsolete version 2.3.0 from another http://download.eclipse.org/??? software site (can't remember exactly), including org.eclipse.mylyn.github.ui [2.3.0.201302130906] while there already was a preinstalled 3.0.3.something version in Juno. Adding the missing Software Site allowed me to install version 3.0.3...
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse EGit 2.2.0.201212191850-r (org.eclipse.egit.feature.group 2.2.0.201212191850-r)
Missing requirement: Eclipse EGit 2.2.0.201212191850-r (org.eclipse.egit.feature.group 2.2.0.201212191850-r) requires 'org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found
My eclipse version is Helios.
and also there's this list that I dont get.
Eclipse EGit
Eclipse EGit - Source
Eclipse JGit
Eclipse JGit - Source
Eclipse JGit Command Line Interface
Eclipse JGit Command Line Interface - Source
Eclipse Mylyn
Eclipse Plug-in Import Support
How do I solve this? Thank you.
If you cannot upgrade to newer eclipse, because of corporate environment for instance,
you can install older EGit version, the upgrade is not revolutionary.
Looks like you are installing from eclipse marketplace.
Try installing through "Help->Install New Software.."
use "http://download.eclipse.org/egit/updates-2.1" in update site. it will give you older version of egit that is compatible with Helios.
Make sure to uncheck "Egit plug-in Import Support" - it is not compatible with Helios
About the other items in list you could easily google about Jgit and Egit relationship and about mylyn and its features
Hope this helps
Egit 2.2 doesn't support Helios anymore. Either you stay at Egit 2.1 or you upgrade your Eclipse installation to Juno (which can be done without reinstallation).