Revert "[MNG-6772] Prevent Super POM central entry from overriding"

This reverts commit 2a23d7bf16.
This commit is contained in:
Michael Osipov 2021-04-22 18:45:57 +02:00
parent f4009a1c0a
commit 1a65351b43
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ public class ProjectModelResolver
this.externalRepositories = original.externalRepositories;
this.repositories = new ArrayList<>( original.repositories );
this.repositoryMerging = original.repositoryMerging;
this.repositoryIds = new HashSet<>();
this.repositoryIds = new HashSet<>( original.repositoryIds );
this.modelPool = original.modelPool;
}

View File

@ -103,7 +103,7 @@ class DefaultModelResolver
this.remoteRepositoryManager = original.remoteRepositoryManager;
this.repositories = new ArrayList<>( original.repositories );
this.externalRepositories = original.externalRepositories;
this.repositoryIds = new HashSet<>();
this.repositoryIds = new HashSet<>( original.repositoryIds );
}
@Override