You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/10/05 12:21:00 UTC

[jira] [Created] (MNGSITE-495) Clarify merging of repositories/pluginRepositories

Konrad Windszus created MNGSITE-495:
---------------------------------------

             Summary: Clarify merging of repositories/pluginRepositories
                 Key: MNGSITE-495
                 URL: https://issues.apache.org/jira/browse/MNGSITE-495
             Project: Maven Project Web Site
          Issue Type: Improvement
            Reporter: Konrad Windszus


According to https://github.com/apache/maven/blob/2a9f39336cec1d8e52d30cc48503d51ed8672536/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java#L263 repositories from child poms overwrite repositories with the same id from the parent pom completely (instead of merging them per id). As this is unexpected and different from plugin execution ids it should be clarified in https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance



--
This message was sent by Atlassian Jira
(v8.20.10#820010)