Hi,
I am wondering about the future of the maven-scr-plugin. I think it should be 
deprecated and instead the documentation should point to the 
maven-bundle-plugin to be used now even for generating descriptors for metatype 
and declarative services.

That can nowadays take care of generating the component descriptor [0] with the 
OSGi standard annotations [1]. For the metatype generation bnd came up with its 
own annotations[3], which should be a replacement for all maven-scr-plugin 
annotations.
Also it seems that maven-scr-plugin is not compatible with Declarative Services 
1.3 (meaning I cannot use "Configuration Property Types”) [3].

The only thing which is not covered in the maven-bundle-plugin is component 
inheritance (but that is deprecated anyways [4]).
Are there any other feature of the maven-scr-plugin which are not covered by 
bnd/maven-bundle-plugin?

My request originates from the discussion at 
https://github.com/bndtools/bnd/issues/999.

WDYT?
Thanks for any input,
Konrad


[0] - http://www.aqute.biz/Bnd/Components
[1] - 
https://osgi.org/javadoc/r6/enterprise/org/osgi/service/component/annotations/package-summary.html
[2] - http://www.aqute.biz/Bnd/MetaType
[3] - http://njbartlett.name/2015/08/17/osgir6-declarative-services.html
[4] - https://issues.apache.org/jira/browse/FELIX-4170

Reply via email to