[ https://issues.apache.org/jira/browse/MNG-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MNG-7758: -------------------------------- Description: Consider you have three repos defined in your build (could be POM or settings), evaluated in following order: 1. repo A: serves custom artifacts with group id {{com.example}}, due to repo partitioning in Nexus rejects requests to all other group ids with 403 1. repo B: serves third party artifacts without any restriction from a Nexus repo 1. repo C: serves Central mirror, last one quried, no restrictions Note that order is important. Now add a non-existing dependency to your POM and receive the following behavior: > o.e.aether.resolution.ArtifactResolutionException incorrectly examed when > multiple repositories are involved > ------------------------------------------------------------------------------------------------------------ > > Key: MNG-7758 > URL: https://issues.apache.org/jira/browse/MNG-7758 > Project: Maven > Issue Type: Bug > Components: Dependencies, Performance > Affects Versions: 3.8.8, 3.9.1, 4.0.0-alpha-5 > Reporter: Michael Osipov > Priority: Critical > > Consider you have three repos defined in your build (could be POM or > settings), evaluated in following order: > 1. repo A: serves custom artifacts with group id {{com.example}}, due to repo > partitioning in Nexus rejects requests to all other group ids with 403 > 1. repo B: serves third party artifacts without any restriction from a Nexus > repo > 1. repo C: serves Central mirror, last one quried, no restrictions > Note that order is important. Now add a non-existing dependency to your POM > and receive the following behavior: -- This message was sent by Atlassian Jira (v8.20.10#820010)