mirror of https://github.com/apache/archiva.git
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:
parent
cd24321b90
commit
3e389d5e5f
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue