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.
|
// 2. If the updateInterval has been exceeded since the last check for this artifact on this repository, then check.
|
||||||
else if ( artifact.isSnapshot() && updateCheckIsRequired )
|
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
|
try
|
||||||
{
|
{
|
||||||
|
@ -107,7 +108,7 @@ public class DefaultWagonManager
|
||||||
updateCheckManager.touch( artifact, repository );
|
updateCheckManager.touch( artifact, repository );
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug( " Artifact " + artifact.getId() + " resolved" );
|
logger.debug( " Artifact " + artifact.getId() + " resolved to " + artifact.getFile() );
|
||||||
|
|
||||||
artifact.setResolved( true );
|
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 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 ) )
|
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
|
try
|
||||||
{
|
{
|
||||||
|
@ -135,7 +137,7 @@ public class DefaultWagonManager
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug( " Artifact " + artifact.getId() + " resolved" );
|
logger.debug( " Artifact " + artifact.getId() + " resolved to " + artifact.getFile() );
|
||||||
|
|
||||||
artifact.setResolved( true );
|
artifact.setResolved( true );
|
||||||
}
|
}
|
||||||
|
@ -155,11 +157,12 @@ public class DefaultWagonManager
|
||||||
// don't write touch-file for release artifacts.
|
// don't write touch-file for release artifacts.
|
||||||
else if ( !artifact.isSnapshot() )
|
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 );
|
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 );
|
artifact.setResolved( true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue