svn commit: r170539 - /maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r170539 - /maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java

brettporter
Administrator
Author: brett
Date: Tue May 17 01:05:13 2005
New Revision: 170539

URL: http://svn.apache.org/viewcvs?rev=170539&view=rev
Log:
don't need to have it remotely if it is local, and don't care about updating legacy snapshots remotely anymore

Modified:
    maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java

Modified: maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java?rev=170539&r1=170538&r2=170539&view=diff
==============================================================================
--- maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java (original)
+++ maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java Tue May 17 01:05:13 2005
@@ -187,7 +187,7 @@
                 }
 
                 destinationFile = localRepository.getArtifactFile( dep );
-                if ( !destinationFile.exists() || version.indexOf( "SNAPSHOT" ) >= 0 )
+                if ( !destinationFile.exists() )
                 {
                     log( "Downloading " + url );
                     HttpUtils.getFile( url, destinationFile, ignoreErrors, useTimestamp, proxyHost, proxyPort,



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]