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/05 10:11:00 UTC

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

Konrad Windszus created SLING-11862:
---------------------------------------

             Summary: 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
             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)