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/02/18 09:07:13 UTC

[jira] [Closed] (FELIX-3636) Using @Service without @Component should log a warning

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

Carsten Ziegeler closed FELIX-3636.
-----------------------------------

    
> Using @Service without @Component should log a warning
> ------------------------------------------------------
>
>                 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
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin-1.10.0, scr ant task 1.4.0, scr generator 1.4.0
>
>
> 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