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@750471 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e402106f2
commit
013f3adab5
|
@ -125,6 +125,14 @@ public class DefaultUpdateCheckManager
|
||||||
// artifacts available.
|
// artifacts available.
|
||||||
ArtifactRepositoryPolicy policy = metadata.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
|
ArtifactRepositoryPolicy policy = metadata.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
|
||||||
|
|
||||||
|
if ( getLogger().isDebugEnabled() )
|
||||||
|
{
|
||||||
|
getLogger().debug(
|
||||||
|
"Determining update check for " + metadata + " (" + file + ") from " + repository
|
||||||
|
+ " (snapshot = " + metadata.isSnapshot() + ", enabled = " + policy.isEnabled()
|
||||||
|
+ ")" );
|
||||||
|
}
|
||||||
|
|
||||||
if ( !policy.isEnabled() )
|
if ( !policy.isEnabled() )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue