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

Closes #289
This commit is contained in:
Eddie Wiegers 2019-10-03 14:24:26 -05:00 committed by Sylwester Lachiewicz
parent e26f2f08d1
commit 2a23d7bf16
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<>( original.repositoryIds );
this.repositoryIds = new HashSet<>();
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<>( original.repositoryIds );
this.repositoryIds = new HashSet<>();
}
@Override