Open christianbalzer opened 7 years ago
Just got this error with a clean install of Eclipse Photon: 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.201509090157 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201509090157) Missing requirement: Maven SCM Handler for EGit 0.14.0.201509090157 (org.sonatype.m2e.egit 0.14.0.201509090157) requires 'osgi.bundle; org.eclipse.egit.core [3.0.0,5.0.0)' but it could not be found Cannot satisfy dependency: From: Maven SCM Handler for EGit 0.14.0.201509090157 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201509090157) To: org.eclipse.equinox.p2.iu; org.sonatype.m2e.egit [0.14.0.201509090157,0.14.0.201509090157]
Is there any work around for the erro @fcarsten mentioned?
ericmataias
Add http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-egit/0.15.1/N/LATEST/ Maven SCM Handler for EGit Repository
To Your update sites
@neerup workaround does not work for me. I added the suggested URL and tried installing m2e-egit again. I now get the following (slightly different error):
Operation details Cannot complete the install because of a conflicting dependency. Software being installed: Maven SCM Handler for EGit 0.14.0.201509090157 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201509090157) Software currently installed: Git integration for Eclipse 5.0.0.201806131550-r (org.eclipse.egit.feature.group 5.0.0.201806131550-r) Only one of the following can be installed at once: Git integration for Eclipse - Core 4.9.2.201712150930-r (org.eclipse.egit.core 4.9.2.201712150930-r) Git integration for Eclipse - Core 5.0.0.201806131550-r (org.eclipse.egit.core 5.0.0.201806131550-r) Cannot satisfy dependency: From: Git integration for Eclipse 5.0.0.201806131550-r (org.eclipse.egit.feature.group 5.0.0.201806131550-r) To: org.eclipse.equinox.p2.iu; org.eclipse.egit.core [5.0.0.201806131550-r,5.0.0.201806131550-r] Cannot satisfy dependency: From: Maven SCM Handler for EGit 0.14.0.201509090157 (org.sonatype.m2e.egit 0.14.0.201509090157) To: osgi.bundle; org.eclipse.egit.core [3.0.0,5.0.0) Cannot satisfy dependency: From: Maven SCM Handler for EGit 0.14.0.201509090157 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201509090157) To: org.eclipse.equinox.p2.iu; org.sonatype.m2e.egit [0.14.0.201509090157,0.14.0.201509090157]
@fcarsten From a clean install of Photon I just added the above Update site and installed the m2e extensions -> Maven SCM Handler for EGit from the Install New Software... menu. No need for the Marketplace
ericmataias
Add http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-egit/0.15.1/N/LATEST/ Maven SCM Handler for EGit Repository
To Your update sites
Just installed. After open eclipse(my case, photon)
Help > Install New Software... > Add..
Name: m2eclipse-egit Location: http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-egit/0.15.1/N/LATEST/
Then in "Work with:" drop down select the "new location just added, then m2e extensions display as: "Maven SCM Handler for EGit"
@billson-my This works for me. Thanks.
I have the same issue when I try to install the m2eclipse-egit connector in Eclipse 2019-06 and the solution mentioned above also works for me. But is it possible to update the m2e discovery catalog so that Eclipse users can install m2eclipse-egit "out of the box"?
This fix worked for me. Thank you!
I submitted a pull request to update the catalog entry (see link above). This should fix the issues reported here. 😉
Fresh install of Eclipse 2021-12 and installation of m2e-egit fails with the following:
Cannot complete the install because one or more required items could not be found. Software being installed: Maven SCM Handler for EGit 0.15.1.201806191431 (org.sonatype.m2e.egit.feature.feature.group 0.15.1.201806191431) Missing requirement: Git integration for Eclipse - Core 5.13.0.202109080827-r (org.eclipse.egit.core 5.13.0.202109080827-r) requires 'java.package; org.eclipse.jgit.annotations [5.13.0,5.14.0)' but it could not be found Cannot satisfy dependency: From: Maven SCM Handler for EGit 0.15.1.201806191431 (org.sonatype.m2e.egit 0.15.1.201806191431) To: osgi.bundle; org.eclipse.egit.core [3.0.0,6.0.0) Cannot satisfy dependency: From: Maven SCM Handler for EGit 0.15.1.201806191431 (org.sonatype.m2e.egit.feature.feature.group 0.15.1.201806191431) To: org.eclipse.equinox.p2.iu; org.sonatype.m2e.egit [0.15.1.201806191431,0.15.1.201806191431]
Install fails whether using m2e-marketplace or 'install new software' using the 0.15.1 location.
EDIT: Can only get m2e-egit working in 2021-12 by downgrading the default eGit 6.0 installation to 5.13.
Steps to reproduce: File > Import... > Maven > Check out maven project from SCM > Next > m2e Marketplace Link > Find: EGit > Select: m2e-egit > Finish > Next > Finish
Error message:
I also posted a copy here, before I saw this github project: https://bugs.eclipse.org/bugs/show_bug.cgi?id=516673