Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install Maven SCM Handler for EGit for Juno

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?

like image 479
Ittai Avatar asked Jul 29 '12 09:07

Ittai


2 Answers

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:

  1. Click Help
  2. Click Install New Software
  3. Uncheck the box labeled Group items by category (this step is important or you won't see the connector in the table)
  4. Paste in this URL http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
  5. Finish the plugin install wizard and restart the workspace
like image 196
jonathan.cone Avatar answered Sep 18 '22 05:09

jonathan.cone


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

like image 33
dnang Avatar answered Sep 20 '22 05:09

dnang