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 2015/04/23 15:32:38 UTC

[jira] [Closed] (FELIX-3549) @Component's componentAbstract is not detected correctly for abstract class

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

Carsten Ziegeler closed FELIX-3549.
-----------------------------------

> @Component's componentAbstract is not detected correctly for abstract class
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-3549
>                 URL: https://issues.apache.org/jira/browse/FELIX-3549
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: maven-scr-plugin-1.7.4
>            Reporter: Victor Saar
>            Priority: Minor
>              Labels: maven
>
> I have an abstract class that declares some references via SCR annotations to be used by classes extending from it. The documentation states that componentAbstract defaults to true for abstract classes, but the Maven SCR plugin reports the following error:
> [ERROR] @Component: Class must be concrete class (not abstract or interface)
> Setting componentAbstract to true explicitly, works as expected. So either the documentation is wrong or the default is not detected correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)