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

Carsten Ziegeler resolved FELIX-3636.
-------------------------------------

    Resolution: Fixed

A warning is now logged
                
> 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

Reply via email to