[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[m2e-dev] org.eclipse.m2e.maven.runtime exports "com.google.inject"
|
Hi,
While debugging some problems why some of my bundles wired
inappropriately I came across the fact that m2e.maven.runtime exports
guice-packages.
osgi> b 417
org.eclipse.m2e.maven.runtime_1.11.0.20190220-2117 [417]
Id=417, Status=RESOLVED Data
Root=/Users/tomschindl/Applications/Eclipse-2019-03.app/Contents/Eclipse/configuration/org.eclipse.osgi/417/data
"No registered services."
No services in use.
Exported packages
org.apache.maven; version="0.0.0"[exported]
org.apache.maven.artifact; version="0.0.0"[exported]
...
com.google.inject; version="1.4.0"[exported]
com.google.inject.binder; version="1.4.0"[exported]
com.google.inject.internal; version="0.0.0"[exported]
com.google.inject.internal.util; version="0.0.0"[exported]
com.google.inject.matcher; version="1.4.0"[exported]
com.google.inject.name; version="1.4.0"[exported]
com.google.inject.spi; version="1.4.0"[exported]
com.google.inject.util; version="1.4.0"[exported]
Beside this repackaged guice dependency there's the standalone
google-inject bundle who export 1.3.0 (most likely via xtext) in my
2019-03 install.
osgi> b 789
com.google.inject_3.0.0.v201605172100 [789]
Id=789, Status=RESOLVED Data
Root=/Users/tomschindl/Applications/Eclipse-2019-03.app/Contents/Eclipse/configuration/org.eclipse.osgi/789/data
"No registered services."
No services in use.
Exported packages
com.google.inject; version="1.3.0"[exported]
com.google.inject.binder; version="1.3.0"[exported]
com.google.inject.internal; version="1.3.0"[exported]
com.google.inject.internal.util; version="1.3.0"[exported]
com.google.inject.matcher; version="1.3.0"[exported]
com.google.inject.name; version="1.3.0"[exported]
com.google.inject.spi; version="1.3.0"[exported]
com.google.inject.util; version="1.3.0"[exported]
Imported packages
javax.inject; version="1.0.0" <javax.inject_1.0.0.v20091030 [9]>
No fragment bundles
No required bundles
I was wondering if:
a) the export of this repackaged dependency is really needed
b) or the repackaging could be removed and and replaced with a
dependency on google.inject from Orbit
Tom
--
Tom Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7. A-6020 Innsbruck
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck