From b8afc98fc214c1eeab47356f27a153e2b2bbda30 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Sat, 26 Dec 2020 19:08:32 +0100 Subject: [PATCH] [MNG-4991] LegacyRepositorySystem#injectProxy(repositories, proxies) doesn't evaluate non-proxy hosts Remove empty override of 'it-defaults' profile because it breaks MNG-4645. It is still reliable for both cases because: before MNG-4645) It relied on the fact that the override removes the global settings Maven Central definition of 'file:target/null' while Maven internally still added canonical Maven Central back. with MNG-4645) The empty profile override completely removes Maven Central definition which means that the mirror won't proxy a non-existing repository. This closes #95 --- .../src/test/resources/mng-4991/settings-template.xml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core-it-suite/src/test/resources/mng-4991/settings-template.xml b/core-it-suite/src/test/resources/mng-4991/settings-template.xml index 75dd1ab3f..10e62e52f 100644 --- a/core-it-suite/src/test/resources/mng-4991/settings-template.xml +++ b/core-it-suite/src/test/resources/mng-4991/settings-template.xml @@ -37,13 +37,4 @@ under the License. @localhost@ - - - it-defaults - - - - - it-defaults -