Dynamic import means that whenever the metatype service is available, it will be used. Optional import would mean that the metatype service would be used only if it was available when the jetty bundle was resolved, and if it became available later it would not be used.
david jencks > On Jun 19, 2016, at 9:05 AM, Florian Pirchner <[email protected]> > wrote: > > Hi, > > you defined a "dynamic import" in resource: > https://github.com/apache/felix/blob/trunk/http/jetty/pom.xml > > <DynamicImport-Package> > org.osgi.service.metatype;version="[1.1,2)" > </DynamicImport-Package> > > What's the mean that you did not use "import-package;optional"? > > Thanks for clearing up. > > Best florian
