Skip to content

Commit b8afc98

Browse files
committed
[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
1 parent 771b738 commit b8afc98

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core-it-suite/src/test/resources/mng-4991/settings-template.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,4 @@ under the License.
3737
<nonProxyHosts>@localhost@</nonProxyHosts>
3838
</proxy>
3939
</proxies>
40-
<profiles>
41-
<profile>
42-
<id>it-defaults</id>
43-
<!-- disable central override and use built-in values -->
44-
</profile>
45-
</profiles>
46-
<activeProfiles>
47-
<activeProfile>it-defaults</activeProfile>
48-
</activeProfiles>
4940
</settings>

0 commit comments

Comments
 (0)