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

Bug 351906

Summary: m2e does not show up as "already installed" in Eclipse IDE for Java Developers
Product: [Technology] EPP Reporter: Ben <Ben.Arnold>
Component: PackagerAssignee: Project Inbox <epp.packager-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ian.skerrett, igor, jonah, mknauer, pascal, steffen.pingel
Version: unspecified   
Target Milestone: 1.4.0 RC4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ben CLA 2011-07-12 18:07:47 EDT
Build Identifier: 20110615-0604

In Indigo, the Eclipse IDE for Java Developers Eclipse distribution contains m2e by default.

The problem is that developers who don't expect m2e to be pre-installed will will presumably expect to have to install it from the Indigo repository (this is what I did). Doing that results in a cryptic error message about a dependency on "shared profile" (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=351778).

I would expect m2e to show up as an item already installed in the Available Software window and for Eclipse to prevent me from reinstalling it.


Reproducible: Always

Steps to Reproduce:
1. Install Eclipse IDE for Java Developers.
2. Add Indigo repository (http://download.eclipse.org/releases/indigo).
3. Look under Collaboration for "m2e - Maven Integration for Eclipse".
4. Note that there is no indicator that the plug-in is already installed.
5. Click "hide items that are already installed".
6. Note that "m2e - Maven Integration for Eclipse" is still visible.
7. Right-click on Package Explorer and click New > Other.
8. Note that a Maven menu appears in the dialogue box, showing that m2e is in fact installed.
Comment 1 Ben CLA 2011-07-12 18:34:20 EDT
Ah, I followed some advice to avoid installing Eclipse as root and this bug has gone away, so there's a work-around.

I now suspect this is part of some underlying thing that's broken about having Eclipse installed as root. I've searched and haven't found a specific bug report on this topic.

I had Helios installed as root and it seemed to work ok although I was starting to get a few weird plug-in installation errors.

For the purposes of this bug, the point to note is that it happens if you install Eclipse as root and then run it as a normal user.
Comment 2 Igor Fedorenko CLA 2011-07-13 00:13:32 EDT
Not sure if p2 is the right place for this bug, bug there is certainly nothing we can do about from m2e side.
Comment 3 Pascal Rapicault CLA 2012-04-29 01:27:33 EDT
I understand and this is a valid concern.
This results from the way EPP packages are built since an EPP package is one IU that refers to all the necessary pieces.

Moving to EPP so the package producer are aware of the issue the grouping can cause.
Comment 4 Jonah Graham CLA 2021-05-07 10:22:29 EDT
The EPP project does not have its "own" Packager anymore. EPP uses other technologies, such as Eclipse Tycho, Maven and Eclipse PDE. Therefore any remaining bugs are now being closed as WONTFIX. If this bug is still relevant, please make a comment and we'll move it to the correct project/component for further investigation.

This change was made as part of a bulk change.