[ https://issues.apache.org/jira/browse/MNG-8050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated MNG-8050: --------------------------------- Description: When the same repository ID is used in repositories defined in # {{settings.xml}} and # POM the one from the POM is just silently ignored and no ERROR is emitted. OTOH when defining repositories with the same ID in POM the following error is emitted: {code} [ERROR] Some problems were encountered while processing the POMs: [ERROR] 'repositories.repository.id' must be unique .... {code} A similar error should be emitted for repository ID clashes in {{settings.xml}} (both local and global) and POM was: When the same repository ID is used in repositories defined in # {{settings.xml}} and # POM the one from the POM is just silently ignored and no ERROR is emitted. OTOH when defining repositories with the same ID in POM the following error is emitted: {code} [ERROR] Some problems were encountered while processing the POMs: [ERROR] 'repositories.repository.id' must be unique .... {code} A similar error should be emitted for repository ID clashes within {{settings.xml}} (both local and global) or {{settings.xm}} and POM > Same repositories IDs in settings.xml and POM are not detected > -------------------------------------------------------------- > > Key: MNG-8050 > URL: https://issues.apache.org/jira/browse/MNG-8050 > Project: Maven > Issue Type: Improvement > Reporter: Konrad Windszus > Priority: Major > > When the same repository ID is used in repositories defined in > # {{settings.xml}} and > # POM > the one from the POM is just silently ignored and no ERROR is emitted. > OTOH when defining repositories with the same ID in POM the following error > is emitted: > {code} > [ERROR] Some problems were encountered while processing the POMs: > [ERROR] 'repositories.repository.id' must be unique .... > {code} > A similar error should be emitted for repository ID clashes in > {{settings.xml}} (both local and global) and POM > -- This message was sent by Atlassian Jira (v8.20.10#820010)