maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r410045 - /maven/components/trunk/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/download/OnlineArtifactDownloader.java
Date Mon, 29 May 2006 07:45:07 GMT
Author: brett
Date: Mon May 29 00:45:07 2006
New Revision: 410045

URL: http://svn.apache.org/viewvc?rev=410045&view=rev
Log:
bootstrap fixes

Modified:
    maven/components/trunk/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/download/OnlineArtifactDownloader.java

Modified: maven/components/trunk/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/download/OnlineArtifactDownloader.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/download/OnlineArtifactDownloader.java?rev=410045&r1=410044&r2=410045&view=diff
==============================================================================
--- maven/components/trunk/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/download/OnlineArtifactDownloader.java
(original)
+++ maven/components/trunk/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/download/OnlineArtifactDownloader.java
Mon May 29 00:45:07 2006
@@ -94,7 +94,7 @@
                     directory.mkdirs();
                 }
 
-                if ( !getRemoteArtifact( dep, destinationFile ) )
+                if ( !getRemoteArtifact( dep, destinationFile ) && !destinationFile.exists()
)
                 {
                     throw new DownloadFailedException( "Failed to download " + dep );
                 }
@@ -318,10 +318,8 @@
             // TODO: use super POM?
             remoteRepositories.add( new Repository( "central", REPO_URL, Repository.LAYOUT_DEFAULT,
false, true ) );
             // TODO: use maven root POM?
-/*
-            remoteRepositories.add( new Repository( "snapshots", "http://snapshots.maven.codehaus.org/maven2/",
+            remoteRepositories.add( new Repository( "apache.snapshots", "http://cvs.apache.org/maven-snapshot-repository/",
                                                     Repository.LAYOUT_DEFAULT, true, false
) );
-*/
         }
 
         return remoteRepositories;



Mime
View raw message