Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351778

Summary: m2e does not install in Indigo (missing "shared profile")
Product: z_Archived Reporter: Ben <Ben.Arnold>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: matthew
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ben CLA 2011-07-11 21:58:49 EDT
Build Identifier: 20110615-0604

The m2e plugin cannot be installed in Indigo because it depends on Shared Profile which Eclipse cannot find.

I've spent quite a bit of time trying to find a workaround for this and I can't find one. It looks as though people who need m2e have to stick with Helios for now.


Reproducible: Always

Steps to Reproduce:
1. Install Eclipse IDE for Java Developers.
2. Go to the Install New Software window.
3. Add the Indigo software site: http://download.eclipse.org/releases/indigo/
4. Select "m2e - Maven Integration for Eclipse".
5. Click Next.

The error details are:

Cannot complete the install because of a conflicting dependency.
  Software being installed: m2e - Maven Integration for Eclipse 1.0.0.20110607-2117 (org.eclipse.m2e.feature.feature.group 1.0.0.20110607-2117)
  Software currently installed: Shared profile 1.0.0.1304050493443 (SharedProfile_epp.package.java 1.0.0.1304050493443)
  Only one of the following can be installed at once: 
    Maven Integration for Eclipse 0.12.1.20110112-1712 (org.maven.ide.eclipse 0.12.1.20110112-1712)
    Maven Integration for Eclipse 0.12.0.20101115-1102 (org.maven.ide.eclipse 0.12.0.20101115-1102)
    This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.0.20110607-2117 (org.maven.ide.eclipse 1.0.0.20110607-2117)
    Maven Integration for Eclipse 0.10.2.20100623-1649 (org.maven.ide.eclipse 0.10.2.20100623-1649)
    Maven Integration for Eclipse 0.10.0.20100209-0800 (org.maven.ide.eclipse 0.10.0.20100209-0800)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1304050493443 (SharedProfile_epp.package.java 1.0.0.1304050493443)
    To: org.maven.ide.eclipse [0.12.1.20110112-1712]
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.0.0.20110607-2117 (org.eclipse.m2e.feature.feature.group 1.0.0.20110607-2117)
    To: bundle org.maven.ide.eclipse [1.0.0.20110607-2117]
Comment 1 Ben CLA 2011-07-11 22:12:24 EDT
Whoops wrong stack trace... I tried to reproduce it on my Helios installation by accident (which already had M2E installed). This is the Indigo stack trace:

Cannot complete the install because one or more required items could not be found.
  Software currently installed: Shared profile 1.0.0.1308119157680 (SharedProfile_epp.package.java 1.0.0.1308119157680)
  Missing requirement: Shared profile 1.0.0.1308119157680 (SharedProfile_epp.package.java 1.0.0.1308119157680) requires 'org.maven.ide.eclipse [1.0.0.20110607-2117]' but it could not be found
Comment 2 Matthew Piggott CLA 2011-07-12 09:20:34 EDT
m2e is already part of the Java Developers package (though not EE iirc)

If you're trying to install something else and get this error, make sure your OS user has permission to write to the Eclipse directory.

*** This bug has been marked as a duplicate of bug 350645 ***
Comment 3 Ben CLA 2011-07-12 18:14:16 EDT
Thanks Matthew for explaining this, I should have checked the menus before I went to install the plug-in. I did check to see if it was already installed from the Install New Software screen and there seems to be a bug that it's not showing up as installed there. I've raised this separately:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=351906
Comment 4 Denis Roy CLA 2021-04-19 13:27:18 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/