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 ) {