Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8050

Same repositories IDs in settings.xml and POM are not detected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0, 4.0.0-beta-3
    • None
    • None

    Description

      When the same repository ID is used in repositories defined in 

      1. settings.xml and
      2. 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:

      [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] 'repositories.repository.id' must be unique ....
      

      A similar error should be emitted for repository ID clashes in settings.xml (both local and global) and POM
       

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: