org.apache.felix.scr annotations to org.osgi.service.component - Abstract Components (scr annotations) - AEM 6.4 | Community
Skip to main content
Premkarthic-7WP
Level 4
September 21, 2018

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

  • September 21, 2018
  • 1 reply
  • 1833 views

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>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

June 15, 2021

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