{
File groupDir = new File( repository.getLocation(), reference.getGroupId() );
if ( !groupDir.exists() )
{
throw new ContentNotFoundException( "Unable to get versions using a non-existant groupId directory: "
+ groupDir.getAbsolutePath() );
}
if ( !groupDir.isDirectory() )
{
throw new ContentNotFoundException( "Unable to get versions using a non-directory: "
+ groupDir.getAbsolutePath() );
}
Set<String> foundVersions = new HashSet<String>();