Expand my Community achievements bar.

org.apache.felix.scr annotations to org.osgi.service.component - Abstract Components (scr annotations) - AEM 6.4

Avatar

Level 4

Hi,

we are migrating from org.apache.felix.scr annotations to org.osgi.service.component annotations. we have a set of Components that inherit from adobe provided abstract class com.adobe.cq.social.scf.core.AbstractSocialComponentFactory (Developed with scr annotations).

on the super class they have few reference object("@Reference") and that's not get inherited to my ds annotated child classes by default.

Note : Same is working if we add the local reference object with d6 reference annotations.

with maven bundle plugin we tried adding the following configurations to make the inheritance work (by default with osgi d6 annotations inheritance wont happen) but nothing helps.

Any pointer to fix this will help us more.

<configuration>

<instructions>

<_dsannotations>*</_dsannotations>

<_dsannotations-inherit>true</_dsannotations-inherit>

<_metatypeannotations>*</_metatypeannotations>

</instructions>

</configuration>

1 Reply

Avatar

Level 1

Same problem here with com.day.cq.wcm.workflow.process.ReplicatePageProcess. We have no solution so far.