From db0e7f74074586f06a4f86a4383223dd89a77695 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sun, 2 Aug 2009 17:50:29 +0000 Subject: [PATCH] o Fixed URL logging git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800117 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/repository/legacy/DefaultWagonManager.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java b/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java index 0d0e9939bf..cb66a634a1 100644 --- a/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java +++ b/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java @@ -350,9 +350,12 @@ public class DefaultWagonManager if ( downloaded ) { - - logger.info( "Downloaded " + repository.getUrl() + remotePath ); - + if ( logger.isInfoEnabled() ) + { + String url = String.valueOf( repository.getUrl() ); + logger.info( "Downloaded " + url + ( url.endsWith( "/" ) ? "" : "/" ) + remotePath ); + } + // keep the checksum files from showing up on the download monitor... if ( downloadMonitor != null ) {