new DefaultModuleDescriptor(revId, "integration", new Date());
Artifact artifact =
new MDArtifact(md, module, type, type);
ArtifactDownloadReport report =
ivy.download(artifact, null);
DownloadStatus status = report.getDownloadStatus();
if (status == DownloadStatus.FAILED) {
throw new BuildException("Could not resolve resource.");
}