That's true but unfortunately I'm not aware of any jar providing just the api for a given osgi service.
On Monday, June 4, 2012, Christian Schneider wrote: > I think we should not depend on an implementation if there is an API. The > implementation can bring in unwanted transitive depencies that are much > worse than managing the package dependencies. > At runtime it can be enough to install the impl of course if it brings > along the api. > > Christian > > > Am 04.06.2012 09:43, schrieb Jean-Baptiste Onofré: > >> Hi all, >> >> I updated Karaf trunk (3.0) to use OSGi Compendium 4.3.0. It means that >> now, Karaf trunk uses both OSGi and OSGi Compendium 4.3.0 (whereas >> previously it used OSGi 4.3.0 and OSGi Compendium 4.2.0). >> >> However, to "simplify" version range, I think it makes sense to not >> depend from OSGi Compendium but directly from the service implementation >> itself (for instance Felix ConfigAdmin, etc). As we already manage the >> version of service implementation, I think OSGi compendium dependency is >> superfluous. >> >> I raised: >> https://issues.apache.org/**jira/browse/KARAF-1518<https://issues.apache.org/jira/browse/KARAF-1518> >> >> WDYT ? >> >> Thanks >> Regards >> JB >> > > > -- > Christian Schneider > http://www.liquid-reality.de > > Open Source Architect > Talend Application Integration Division http://www.talend.com > > -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ FuseSource, Integration everywhere http://fusesource.com
