maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-mboot2/src/main/java/download ArtifactDownloader.java
Date Thu, 07 Apr 2005 04:59:12 GMT
brett       2005/04/06 21:59:12

  Modified:    maven-core/src/main/resources/org/apache/maven/project
                        pom-4.0.0.xml
               maven-mboot2/src/main/java/download ArtifactDownloader.java
  Log:
  back to repo1.maven.org, which is now at ibiblio
  
  Revision  Changes    Path
  1.13      +3 -3      maven-components/maven-core/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
  
  Index: pom-4.0.0.xml
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/resources/org/apache/maven/project/pom-4.0.0.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- pom-4.0.0.xml	6 Apr 2005 01:28:29 -0000	1.12
  +++ pom-4.0.0.xml	7 Apr 2005 04:59:12 -0000	1.13
  @@ -6,16 +6,16 @@
       <repository>
         <id>central</id>
         <name>Maven Repository Switchboard</name>
  -      <url>http://test.maven.codehaus.org/maven2</url>
  +      <url>http://repo1.maven.org/maven2</url>
         <layout>default</layout>
       </repository>
     </repositories>
  -  
  +
     <pluginRepositories>
       <pluginRepository>
         <id>central</id>
         <name>Maven Plugin Repository</name>
  -      <url>http://test.maven.codehaus.org/maven2</url>
  +      <url>http://repo1.maven.org/maven2</url>
         <layout>default</layout>
       </pluginRepository>
     </pluginRepositories>
  
  
  
  1.14      +4 -3      maven-components/maven-mboot2/src/main/java/download/ArtifactDownloader.java
  
  Index: ArtifactDownloader.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/src/main/java/download/ArtifactDownloader.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ArtifactDownloader.java	6 Apr 2005 01:28:29 -0000	1.13
  +++ ArtifactDownloader.java	7 Apr 2005 04:59:12 -0000	1.14
  @@ -6,11 +6,11 @@
   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 @@
   
       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 @@
           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 );
           }
       }
  
  
  

Mime
View raw message