Victor Saar created FELIX-3549:
----------------------------------

             Summary: @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


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

        

Reply via email to