Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Premkarthic-7WP
Level 4
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
HendrikK
Level 1
Level 1

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