add debug log

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-16 22:07:20 +00:00
parent cd24321b90
commit 3e389d5e5f
1 changed files with 5 additions and 0 deletions

View File

@ -165,6 +165,11 @@ public class RepositoryModelResolver
StringUtils.replaceChars( groupId, '.', '/' ) + '/' + artifactId + '/' + version + '/'
+ artifactId + '-' + StringUtils.remove( version, "-SNAPSHOT" ) + '-' + lastVersion + '-'
+ buildNumber + ".pom";
if ( log.isDebugEnabled() )
{
log.debug( "use snapshot path {} for maven coordinate {}", snapshotPath,
groupId + ":" + artifactId + ":" + version );
}
File model = new File( basedir, snapshotPath );
//model = pathTranslator.toFile( basedir, groupId, artifactId, lastVersion, filename );
if ( model.exists() )