must copy the repository list as it may be modified

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-20 08:44:39 +00:00
parent ccc169b862
commit 6e87ae8941
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public class DefaultMavenProjectBuilder
}
else
{
aggregatedRemoteWagonRepositories = remoteArtifactRepositories;
aggregatedRemoteWagonRepositories = new ArrayList( remoteArtifactRepositories );
}
for ( Iterator i = externalProfiles.iterator(); i.hasNext(); )