You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/07/08 13:51:00 UTC

[jira] [Closed] (SLING-11862) Prevent usage of annotation dependencies with compile scope

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

Konrad Windszus closed SLING-11862.
-----------------------------------

> Prevent usage of annotation dependencies with compile scope
> -----------------------------------------------------------
>
>                 Key: SLING-11862
>                 URL: https://issues.apache.org/jira/browse/SLING-11862
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Parent 50, Bundle Parent 50
>
>
> As discussed in https://lists.apache.org/thread/b5yt7qs3gd9863p9868041v1f4gdd5l2 the annotations which don't have runtime retention should never appear in a runtime classpath nor as transitive dependency.
> Therefore for the OSGi annotation libraries as well as the Jetbrains annotations the dependencies should always have scope provided.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)