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 2022/06/24 05:42:00 UTC

[jira] [Created] (SLING-11411) Remove scope from dependency management

Konrad Windszus created SLING-11411:
---------------------------------------

             Summary: Remove scope from dependency management
                 Key: SLING-11411
                 URL: https://issues.apache.org/jira/browse/SLING-11411
             Project: Sling
          Issue Type: Improvement
          Components: General
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus
             Fix For: Parent 49, Bundle Parent 49


Managing the scope in the depMgmt is an [anti-pattern](https://stackoverflow.com/a/20750041), as it makes it very hard to override the scope. Therefore all scopes should be removed from the dependency management in the parent poms and at the same time it should be enforced that the scope is always explicitly set locally with an enforcer rule (SLING-11410)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)