mirror of https://github.com/apache/maven.git
o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750468 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a27e6457b4
commit
afa3b93e09
|
@ -81,6 +81,13 @@ public class DefaultUpdateCheckManager
|
||||||
{
|
{
|
||||||
File file = artifact.getFile();
|
File file = artifact.getFile();
|
||||||
|
|
||||||
|
if ( getLogger().isDebugEnabled() )
|
||||||
|
{
|
||||||
|
getLogger().debug(
|
||||||
|
"Determining update check for " + artifact + " (" + file + ") from " + repository
|
||||||
|
+ " (enabled = " + policy.isEnabled() + ")" );
|
||||||
|
}
|
||||||
|
|
||||||
if ( !policy.isEnabled() )
|
if ( !policy.isEnabled() )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
@ -260,6 +267,7 @@ public class DefaultUpdateCheckManager
|
||||||
{
|
{
|
||||||
if ( !touchfile.canRead() )
|
if ( !touchfile.canRead() )
|
||||||
{
|
{
|
||||||
|
getLogger().debug( "Skipped unreadable touchfile " + touchfile + " for key " + key );
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue