This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 117fc4f5 [MNG-8050] Clarify repository ID clashes
117fc4f5 is described below

commit 117fc4f52e7cf785a96aca709e5a12b481860fc8
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Tue Feb 13 19:39:13 2024 +0100

    [MNG-8050] Clarify repository ID clashes
---
 content/apt/guides/mini/guide-multiple-repositories.apt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/content/apt/guides/mini/guide-multiple-repositories.apt 
b/content/apt/guides/mini/guide-multiple-repositories.apt
index d5703f37..4ab83eb8 100644
--- a/content/apt/guides/mini/guide-multiple-repositories.apt
+++ b/content/apt/guides/mini/guide-multiple-repositories.apt
@@ -133,4 +133,8 @@ mvn -Pmyprofile ...
 
   Effective settings and local build POM, with profile taken into account, can 
easily be reviewed to see their repositories order with
   <<<mvn help:effective-settings>>> and <<<mvn help:effective-pom -Dverbose>>>.
-  
+
+* Repository IDs
+
+  Each repository must have a <<unique ID>>. Clashing repository IDs within 
either effective settings or effective POMs lead to build failures. However, 
repositories from POM get
+  overwritten by repositories with the same ID from effective settings. 
Repository IDs are also used in the 
{{{https://maven.apache.org/ref/3-LATEST/maven-repository-metadata/}local 
repository metadata}}.

Reply via email to