mirror of https://github.com/apache/maven.git
o Extended logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13a2fba789
commit
57b95421a6
|
@ -96,7 +96,8 @@ public class DefaultWagonManager
|
|||
// 2. If the updateInterval has been exceeded since the last check for this artifact on this repository, then check.
|
||||
else if ( artifact.isSnapshot() && updateCheckIsRequired )
|
||||
{
|
||||
logger.debug( "Trying repository " + repository.getId() + " for resolution of " + artifact.getId() );
|
||||
logger.debug( "Trying repository " + repository.getId() + " for resolution of " + artifact.getId()
|
||||
+ " from " + remotePath );
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -107,7 +108,7 @@ public class DefaultWagonManager
|
|||
updateCheckManager.touch( artifact, repository );
|
||||
}
|
||||
|
||||
logger.debug( " Artifact " + artifact.getId() + " resolved" );
|
||||
logger.debug( " Artifact " + artifact.getId() + " resolved to " + artifact.getFile() );
|
||||
|
||||
artifact.setResolved( true );
|
||||
}
|
||||
|
@ -121,7 +122,8 @@ public class DefaultWagonManager
|
|||
// if POM is not present locally, try and get it if it's forced, out of date, or has not been attempted yet
|
||||
if ( updateCheckManager.isPomUpdateRequired( artifact, repository ) )
|
||||
{
|
||||
logger.debug( "Trying repository " + repository.getId() + " for resolution of " + artifact.getId() );
|
||||
logger.debug( "Trying repository " + repository.getId() + " for resolution of " + artifact.getId()
|
||||
+ " from " + remotePath );
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -135,7 +137,7 @@ public class DefaultWagonManager
|
|||
throw e;
|
||||
}
|
||||
|
||||
logger.debug( " Artifact " + artifact.getId() + " resolved" );
|
||||
logger.debug( " Artifact " + artifact.getId() + " resolved to " + artifact.getFile() );
|
||||
|
||||
artifact.setResolved( true );
|
||||
}
|
||||
|
@ -155,11 +157,12 @@ public class DefaultWagonManager
|
|||
// don't write touch-file for release artifacts.
|
||||
else if ( !artifact.isSnapshot() )
|
||||
{
|
||||
logger.debug( "Trying repository " + repository.getId() + " for resolution of " + artifact.getId() );
|
||||
logger.debug( "Trying repository " + repository.getId() + " for resolution of " + artifact.getId()
|
||||
+ " from " + remotePath );
|
||||
|
||||
getRemoteFile( repository, artifact.getFile(), remotePath, downloadMonitor, policy.getChecksumPolicy(), false );
|
||||
|
||||
logger.debug( " Artifact " + artifact.getId() + " resolved" );
|
||||
logger.debug( " Artifact " + artifact.getId() + " resolved to " + artifact.getFile() );
|
||||
|
||||
artifact.setResolved( true );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue