Neither is part of the scr specification.  i recommend using the scr 
annotations that are part of the specification in the 
org.osgi.service.component.annotations package.  Bnd interprets them fine and I 
believe you can arrange for the bnd in the maven bundle plugin to interpret 
them although I haven't tried.

thanks
david jencks

On Feb 21, 2014, at 12:05 AM, Krzysztof Sobkowiak <krzys.sobkow...@gmail.com> 
wrote:

> Hi 
> 
> In the SCR examples you use the bnd annotations and Service-Component  
> manifest header.  On the other hand, in the karaf-light branch Ioannis uses 
> the Felix SCR annotations and maven plugin to generate the metadata. Are the 
> both approaches part of the SCR specification? If yes, shouldn't we have one 
> set of annotations? Which approach is preferred? 
> 
> Regards
> Krzysztof 
> 
> -- 
> Krzysztof Sobkowiak
> 
> JEE & OSS Architect | Technical Architect @ Capgemini
> Capgemini | Software Solutions Center | Wroclaw
> e-mail: krzys.sobkow...@gmail.com | Twitter: @KSobkowiak

  • SCR Krzysztof Sobkowiak
    • Re: SCR David Jencks

Reply via email to