mirror of
https://github.com/apache/maven.git
synced 2025-02-06 10:09:04 +00:00
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 @@ private boolean isUpdateRequired( Artifact artifact, ArtifactRepository reposito
|
|||||||
{
|
{
|
||||||
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 Date readLastUpdated( File touchfile, String key )
|
|||||||
{
|
{
|
||||||
if ( !touchfile.canRead() )
|
if ( !touchfile.canRead() )
|
||||||
{
|
{
|
||||||
|
getLogger().debug( "Skipped unreadable touchfile " + touchfile + " for key " + key );
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user