git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299623 13f79535-47bb-0310-9956-ffa450edef68tags/archiva-1.4-M3
@@ -112,10 +112,10 @@ public class RepositoryModelResolver | |||
// is a SNAPSHOT ? | |||
if ( StringUtils.contains( version, "SNAPSHOT" ) ) | |||
{ | |||
model = findTimeStampedSnapshotPom( groupId, artifactId, version, model.getParent() ); | |||
if ( model != null ) | |||
File localSnapshotModel = findTimeStampedSnapshotPom( groupId, artifactId, version, model.getParent() ); | |||
if ( localSnapshotModel != null ) | |||
{ | |||
return new FileModelSource( model ); | |||
return new FileModelSource( localSnapshotModel ); | |||
} | |||
} |