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

Bug 423021

Summary: org.eclipse.m2e.maven.runtime exports javax.inject
Product: z_Archived Reporter: Christian Dietrich <christian.dietrich.opensource>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Christian Dietrich CLA 2013-12-03 05:14:51 EST
The org.eclipse.m2e.maven.runtime Bundle exports javax.inject

The com.google.inject bundle (from Orbit) imports the package javax.inject
(e.g. Provided by javax.inject Bundle from Orbit)

so if somebody else (e.g. the Xtext guys) use @javax.inject.Inject Annotation 
the Injection Process will not work 

if org.eclipse.m2e.maven.runtime wins the battle who gets the honor to provide javax.inject to com.google.inject bundle

if on the other side (e.g. an Xtext Plugin) the Anntations is provided by javax.inject bundle.

so why does m2e export these packages and not use the ones from orbit
Comment 1 Igor Fedorenko CLA 2013-12-03 07:10:19 EST

*** This bug has been marked as a duplicate of bug 411944 ***
Comment 2 Denis Roy CLA 2021-04-19 13:24:30 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/