mirror of https://github.com/apache/archiva.git
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:
parent
c3ebf07a4f
commit
1b915c3a69
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue