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/01/25 13:45:12 UTC

[jira] [Updated] (FELIX-3636) Using @Service without @Component should nevertheless create a component

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

Carsten Ziegeler updated FELIX-3636:
------------------------------------

    Affects Version/s:     (was: scr annotations 1.7.0)
    
> Using @Service without @Component should nevertheless create a component
> ------------------------------------------------------------------------
>
>                 Key: FELIX-3636
>                 URL: https://issues.apache.org/jira/browse/FELIX-3636
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin, SCR Annotations
>    Affects Versions: maven-scr-plugin-1.8.0
>            Reporter: Konrad Windszus
>
> If I use the annotation @Service without @Component no entry in the serviceComponents.xml will be generated and no warning is given out during build from the maven-scr-plugin.
> You should either implicitly generate a component if @Service is given without @Component or an error should be logged during build, since using @Service without @Component right now has no effect at all and this is never intended by someone using @Service.

--
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