This is my class, which is similar as you mentioned, seems the issue is
that the existing code base is still using SCR annotations. Even If I
declare OSGi R7 dependencies and tried to use it in my class. It's not
getting listed in the OSGi components list if I use OSGI annotation
instead of SCR annotations. (If I rewrite using SCR annotation, it's
showing as OSGi component but I am not able to refer any OSGi service
inside that class) @component(property = { "pipeline.type=dmrewriter" },
service...