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/05/08 09:57:00 UTC
[jira] [Resolved] (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 resolved SLING-11862.
-------------------------------------
Resolution: Fixed
Fixed in https://github.com/apache/sling-parent/commit/6b46d2962c971c1af0880fcf5fd86a0b6edcaccb.
> 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)