in src/main/scala/org/apache/servicemix/website/Helper.scala [28:34]
def download(specs: (ReleaseArtifact => ReleaseArtifact)*)(implicit release: Release) : String = {
artifactFor(specs, release) match {
case artifact @ ReleaseArtifact(release, _, _, _) if isSnapshot(release) => _snapshot(artifact)
case artifact @ ReleaseArtifact(release, _, _, _) if release.archived => _archive(artifact)
case artifact => _mirror(artifact)
}
}