String relativePath = PathUtil.getRelative( managedRepository.getUrl().getPath(), repoFiles[i] );
if ( matchesArtifactPattern( relativePath ) )
{
ArtifactReference artifact = layout.toArtifactReference( relativePath );
if ( VersionUtil.isSnapshot( artifact.getVersion() ) )
{
foundVersions.add( artifact.getVersion() );
}