felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3636) Using @Service without @Component should log a warning
Date Fri, 25 Jan 2013 12:51:13 GMT

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

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

    Summary: Using @Service without @Component should log a warning  (was: Using @Service
without @Component should nevertheless create a component)
    
> 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

Mime
View raw message