[ 
https://issues.apache.org/jira/browse/FELIX-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636368#comment-15636368
 ] 

Carsten Ziegeler commented on FELIX-5396:
-----------------------------------------

RFC 222 (Declarative Service R7) is currently in the process to define a way to 
allow 3rd party annotations.
So we could have our @SlingServlet annotation which sets the according 
properties
I think we should wait for the outcome of that 

> Move Sling annotations to dedicated artifact
> --------------------------------------------
>
>                 Key: FELIX-5396
>                 URL: https://issues.apache.org/jira/browse/FELIX-5396
>             Project: Felix
>          Issue Type: Improvement
>          Components: SCR Tooling
>    Affects Versions: scr annotations 1.12.0
>            Reporter: Konrad Windszus
>            Priority: Minor
>
> Currently both the Felix SCR and the custom Sling annotations live in the 
> same JAR. In my projects I don't want to use Felix SCR annotation since OSGi 
> 6 defined now its own annotations for components and metatypes (being 
> evaluated by bnd), but still the custom Sling annotations are useful. For 
> that it would be helpful to just declare a dependency to the Sling 
> annotations (and let them process with maven-scr-plugin or scr-bnd-plugin) 
> without polluting my classpath with the Felix SCR annotations. Probably at 
> the same time it makes more sense to maintain the Sling specific annotations 
> and generator in Sling rather than in Felix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to