maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r745836 - /maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
Date Thu, 19 Feb 2009 12:32:53 GMT
Author: brett
Date: Thu Feb 19 12:32:52 2009
New Revision: 745836

URL: http://svn.apache.org/viewvc?rev=745836&view=rev
Log:
[MNG-3794] add error messages whenever a download fails rather than skipping silently to the
next

Modified:
    maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

Modified: maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java?rev=745836&r1=745835&r2=745836&view=diff
==============================================================================
--- maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
(original)
+++ maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
Thu Feb 19 12:32:52 2009
@@ -333,12 +333,12 @@
                 // This one we will eat when looking through remote repositories
                 // because we want to cycle through them all before squawking.
 
-                getLogger().debug( "Unable to find resource '" + artifact.getId() + "' in
repository " +
+                getLogger().info( "Unable to find resource '" + artifact.getId() + "' in
repository " +
                     repository.getId() + " (" + repository.getUrl() + ")" );
             }
             catch ( TransferFailedException e )
             {
-                getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from
repository " +
+                getLogger().warn( "Unable to get resource '" + artifact.getId() + "' from
repository " +
                     repository.getId() + " (" + repository.getUrl() + "): " + e.getMessage()
);
             }
         }



Mime
View raw message