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

Carsten Ziegeler commented on SLING-6532:
-----------------------------------------

[~kwin] I think the same applies to the old bnd annotations. Actually the last 
line (comment) you removed from the pom, was for that dependency :) So let's 
remove that one as well

> No longer add the Felix SCR annotations to the list of dependencies
> -------------------------------------------------------------------
>
>                 Key: SLING-6532
>                 URL: https://issues.apache.org/jira/browse/SLING-6532
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>    Affects Versions: Parent 29
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: Parent 30
>
>
> To encourage more modules to switch to OSGi 6 annotations, we should not only 
> mark the dependency with the (invisible) comment {{DEPRECATED}} (as being 
> done with SLING-5857), but instead no longer put that dependency by default 
> into the classpath. Just having that in the dependencyManagement is enough, 
> so that for new modules already leveraging only the new annotations the 
> classpath is no longer polluted by this unnecessary class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to