diff --git a/maven-core/src/main/resources/org/apache/maven/project/pom-4.0.0.xml b/maven-core/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
index dab5d72600..0a8062b855 100644
--- a/maven-core/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
+++ b/maven-core/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
@@ -6,16 +6,16 @@
central
Maven Repository Switchboard
- http://test.maven.codehaus.org/maven2
+ http://repo1.maven.org/maven2
default
-
+
central
Maven Plugin Repository
- http://test.maven.codehaus.org/maven2
+ http://repo1.maven.org/maven2
default
diff --git a/maven-mboot2/src/main/java/download/ArtifactDownloader.java b/maven-mboot2/src/main/java/download/ArtifactDownloader.java
index 4395235ee4..b616a4b429 100644
--- a/maven-mboot2/src/main/java/download/ArtifactDownloader.java
+++ b/maven-mboot2/src/main/java/download/ArtifactDownloader.java
@@ -6,11 +6,11 @@ import model.Repository;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
-import java.util.Collection;
public class ArtifactDownloader
{
@@ -32,6 +32,8 @@ public class ArtifactDownloader
private Repository localRepository;
+ private static final String REPO_URL = "http://repo1.maven.org/maven2";
+
public ArtifactDownloader( Repository localRepository, List remoteRepositories )
throws Exception
{
@@ -117,8 +119,7 @@ public class ArtifactDownloader
if ( repositories.isEmpty() )
{
// TODO: use super POM?
- Repository repository = new Repository( "http://test.maven.codehaus.org/maven2", Repository.LAYOUT_DEFAULT );
-// Repository repository = new Repository( "http://repo1.maven.org/maven2", Repository.LAYOUT_LEGACY );
+ Repository repository = new Repository( REPO_URL, Repository.LAYOUT_DEFAULT );
remoteRepos.add( repository );
}
}