mirror of https://github.com/apache/archiva.git
fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eee8044673
commit
d4b081c74d
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue