{
String version = resolveVersion( artifact, localRepository, remoteRepositories );
if ( Artifact.RELEASE_VERSION.equals( version ) )
{
throw new ArtifactNotFoundException( "Unable to determine the release version", artifact );
}
artifact.setBaseVersion( version );
artifact.updateVersion( version, localRepository );
}