If you’ve upgraded to Eclipse Juno recently, you’re likely having trouble using the following plugins in harmony with each other:

  • EGit
  • m2e
  • m2eclipse-egit connector

If you try to install the m2eclipse-egit connector, you’ll get an error message similar to the following:

Operation details

Cannot complete the install because of a conflicting dependency.

Software being installed: Maven SCM Handler for EGit 0.14.0.201110251725

The problem is that the m2e connector available on the update site through the marketplace is not compatible with the latest version of EGit that ships with Eclipse Juno.

To get around this problem, you’ll need to install the most up to date m2e-egit connector version manually.

To do this, perform the following steps:

  • Click Help
  • 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.20120701011/

  • Finish the plugin install wizard and restart the workspace

Its worth noting that this problem exists for the other connectors as well, i.e.the subversion connector. If you’re still having trouble, the following thread may help:

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg02748.html