make it possible to understand why something was blacklisted

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594423 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2007-11-13 04:13:02 +00:00
parent c3ebf07a4f
commit 1b915c3a69
1 changed files with 5 additions and 2 deletions

View File

@ -492,7 +492,9 @@ public class DefaultRepositoryProxyConnectors
// Path must belong to whitelist.
if ( !matchesPattern( remotePath, connector.getWhitelist() ) )
{
getLogger().debug( "Path [" + remotePath + "] is not part of defined whitelist (skipping transfer)." );
getLogger().debug( "Path [" + remotePath +
"] is not part of defined whitelist (skipping transfer from repository [" +
remoteRepository.getRepository().getName() + "])." );
return null;
}
}
@ -500,7 +502,8 @@ public class DefaultRepositoryProxyConnectors
// Is target path part of blacklist?
if ( matchesPattern( remotePath, connector.getBlacklist() ) )
{
getLogger().debug( "Path [" + remotePath + "] is part of blacklist (skipping transfer)." );
getLogger().debug( "Path [" + remotePath + "] is part of blacklist (skipping transfer from repository [" +
remoteRepository.getRepository().getName() + "])." );
return null;
}