diff --git a/maven-core/src/main/java/org/apache/maven/project/MavenProject.java b/maven-core/src/main/java/org/apache/maven/project/MavenProject.java index 7c660da216..5a20200997 100644 --- a/maven-core/src/main/java/org/apache/maven/project/MavenProject.java +++ b/maven-core/src/main/java/org/apache/maven/project/MavenProject.java @@ -256,6 +256,8 @@ public class MavenProject } } + remoteArtifactRepositories = repositorySystem.getMirrors( remoteArtifactRepositories ); + if ( projectBuilderConfiguration.getRemoteRepositories() != null ) { remoteArtifactRepositories.addAll( projectBuilderConfiguration.getRemoteRepositories() );