Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363190 - org.eclipse.m2e.core has dependency on Eclipse UI
Summary: org.eclipse.m2e.core has dependency on Eclipse UI
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 10:38 EST by Scott Lewis CLA
Modified: 2021-04-19 13:27 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Lewis CLA 2011-11-08 10:38:22 EST
Currently, the org.eclipse.m2e.core plugin has a direct dependency on org.eclipse.search, which has a number of dependencies on eclipse UI code.

To satisfy headless/ui-less use cases for m2e core, it would be very helpful if this dependency could be removed or moved to some other ui-specific plugin.
Comment 1 Igor Fedorenko CLA 2011-11-08 20:27:03 EST
Cleaned up unused dependencies in m2e.core and other bundles. Still kept few redundant dependencies to keep pde/jdt from complaining about missing indirectly referenced .class files.


http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=7b345a2c0e19136fb12b740708ee360f4488dbab
Comment 2 Scott Lewis CLA 2011-11-08 21:08:47 EST
(In reply to comment #1)
> Cleaned up unused dependencies in m2e.core and other bundles. Still kept few
> redundant dependencies to keep pde/jdt from complaining about missing
> indirectly referenced .class files.
> 
> 
> http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=7b345a2c0e19136fb12b740708ee360f4488dbab

Thanks Igor!

I'll check it out.  What release version of m2e is this likely to appear?

Again...many thanks...to both you, Pascal, and co.
Comment 3 Igor Fedorenko CLA 2011-11-08 21:27:02 EST
(In reply to comment #2)
> 
> I'll check it out.  What release version of m2e is this likely to appear?
> 

1.1 next June.
Comment 4 Scott Lewis CLA 2011-11-17 18:55:29 EST
(In reply to comment #3)
> (In reply to comment #2)
> > 
> > I'll check it out.  What release version of m2e is this likely to appear?
> > 
> 
> 1.1 next June.

Will the milestone releases include this fix?  I don't see this bug listed in the M3 build bug list:

https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;target
_milestone=Juno%20M3;product=m2e;classification=Technology

But perhaps it will be in M4?

Thanks.
Comment 5 Igor Fedorenko CLA 2011-11-17 19:30:22 EST
The fix will be included in M4 (as indicated by the "Target Milestone" bugzilla attribute)
Comment 6 Eddie Galvez CLA 2012-12-10 10:07:22 EST
I'd like to +1 interest in this feature - we were trying to build a product integration between a command line "builder" we have, and the maven builder. Using an Eclipse 3.7 based product, I then added m2e (which resulted in version 1.2.0.20120903 for org.eclipse.m2e.core) but eventually to get the maven builder, dependencies lead into JFace and UI (from the .jdt plug-in requiring Eclipse's JDT UI).


So, I suppose strictly speaking .core doesn't have the UI dependencies anymore, but we missed an opportunity here to ensure the builder (which are usually supposed to be headless things) also worked in a headless fashion. I can enter a new bug if people agree.
Comment 7 Igor Fedorenko CLA 2012-12-11 10:17:53 EST
Please open a separate bugreport for m2e.jdt request. Beware that the request will most likely be ignored unless a quality patch is provided.
Comment 8 Denis Roy CLA 2021-04-19 13:27:00 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/