mirror of https://github.com/sbt/sbt.git
fix ProjectResolver to properly ignore artifacts
This commit is contained in:
parent
2a4f7ac564
commit
4d6f6ca9f8
|
|
@ -42,12 +42,7 @@ class ProjectResolver(name: String, map: Map[ModuleRevisionId, ModuleDescriptor]
|
||||||
def exists(artifact: IArtifact) = false
|
def exists(artifact: IArtifact) = false
|
||||||
def locate(artifact: IArtifact) = null
|
def locate(artifact: IArtifact) = null
|
||||||
def download(artifacts: Array[IArtifact], options: DownloadOptions): DownloadReport =
|
def download(artifacts: Array[IArtifact], options: DownloadOptions): DownloadReport =
|
||||||
{
|
new DownloadReport
|
||||||
val r = new DownloadReport
|
|
||||||
for(artifact <- artifacts)
|
|
||||||
r addArtifactReport notDownloaded(artifact)
|
|
||||||
r
|
|
||||||
}
|
|
||||||
def download(artifact: ArtifactOrigin, options: DownloadOptions): ArtifactDownloadReport =
|
def download(artifact: ArtifactOrigin, options: DownloadOptions): ArtifactDownloadReport =
|
||||||
notDownloaded(artifact.getArtifact)
|
notDownloaded(artifact.getArtifact)
|
||||||
def findIvyFileRef(dd: DependencyDescriptor, data: ResolveData) = null
|
def findIvyFileRef(dd: DependencyDescriptor, data: ResolveData) = null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue