Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Setting the scope in the dependencyManagement is an anti-pattern and may lead to surprising results during classpath creation. Compare also with the discussion in https://github.com/apache/maven-apache-parent/pull/63#discussion_r788361219.
I propose to add a new rule with name banDependencyManagementScope.
Probably scope import should be accepted though, because it is a special case.
Attachments
Issue Links
- relates to
-
SLING-11411 Remove scope from dependency management
- Closed
- links to