You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@apache.org> on 2016/12/29 18:52:58 UTC

[jira] [Created] (MWAR-402) Dependency management overrides are not transitive and should be considered an anti-pattern.

Christian Schulte created MWAR-402:
--------------------------------------

             Summary: Dependency management overrides are not transitive and should be considered an anti-pattern.
                 Key: MWAR-402
                 URL: https://issues.apache.org/jira/browse/MWAR-402
             Project: Maven WAR Plugin
          Issue Type: Bug
            Reporter: Christian Schulte
            Assignee: Christian Schulte
            Priority: Critical


Overriding the dependency management in a module, the overridden value will not be preserved transitively. It makes no sense to be able to override the dependency management in a module if that is only effective in that module and nowhere else. Overriding the dependency management should be considered an anti-pattern.  Maven should provide a warning when it is used. During the development of Maven 3.4, there have been quite a few discussions on dev@ about build issues which were all caused by overriding the dependency management without noticing this is not supported transitively.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)