You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Victor Saar (JIRA)" <ji...@apache.org> on 2012/06/13 11:04:44 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13294284#comment-13294284 ] 

Victor Saar commented on FELIX-3549:
------------------------------------

With documentation I mean http://felix.apache.org/site/scr-annotations.html
                
> @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: Maven SCR Plugin
>    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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira