Are you developing this in Eclipse with the PDE ?


On Thu, 4 Apr 2019, 15:19 Davi Baldin Tavares, <davi.bal...@gmail.com>
wrote:

> Hello,
>
> I’m trying to move to DS Annotation.
>
> My Class:
>
> import org.osgi.service.component.annotations.Component;
>
> @Component(name = "ZPluginProvider Service", immediate = true, service =
> ZPluginProvider.class)
> public class ZPluginProvider { … }
>
> I’ve deployed these bundles:
>
> org.apache.felix.scr-2.1.16
> org.apache.felix.scr.annotations-1.12.0
> org.apache.felix.scr.ds-annotations-1.2.10
> org.osgi.util.function-1.1.0
> org.osgi.util.promise-1.1.1
>
> However the deployment is not being successfully on
> org.osgi.service.component.annotations completed because of:
>
> 1) org.osgi.service.component.annotations-1.4.0 is missing osgi.unresolved
> or
> 2) org.osgi.service.component.annotations-1.3.0 is missing
> osgi.compile.time.only
>
> Do someone happen to know witch bundles must I have to deploy along Felix
> in order to enable declarative services with annotations?
>
> Thanks,
>
> Davi
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>

Reply via email to