You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/08/02 09:29:50 UTC

[jira] [Closed] (FELIX-4170) Deprecate inheritance of component descriptors

     [ https://issues.apache.org/jira/browse/FELIX-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-4170.
-----------------------------------

    
> Deprecate inheritance of component descriptors
> ----------------------------------------------
>
>                 Key: FELIX-4170
>                 URL: https://issues.apache.org/jira/browse/FELIX-4170
>             Project: Felix
>          Issue Type: Task
>          Components: Maven SCR Plugin
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin 1.14.0, scr ant task 1.8.0, scr generator 1.8.0, scr annotations 1.9.6
>
>
> The inheritance feature of the annotations is problematic as this only works reliable if the super class used at build time is the same as at run time. However at the point of descriptor generation this can't be ensured and therefore might lead to subtle problems.
> In addition, the DS spec decided against inheritance for the same reasons.
> Therefore it is advisable to remove this feature in the long run. As a first step we should log a warning if inheritance is used

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira