public class ArtifactFileResolver extends Object
| Constructor and Description |
|---|
ArtifactFileResolver(org.apache.maven.project.MavenProject project,
com.google.common.collect.ImmutableSet<File> bootClasspath,
boolean preferLocal) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSortedSet<ClasspathElement> |
getClasspathElementsForElements(Collection<File> elements) |
com.google.common.collect.ImmutableMap<File,org.apache.maven.artifact.Artifact> |
resolveArtifactsForScopes(Set<String> scopes) |
public ArtifactFileResolver(org.apache.maven.project.MavenProject project,
com.google.common.collect.ImmutableSet<File> bootClasspath,
boolean preferLocal)
throws org.apache.maven.artifact.DependencyResolutionRequiredException
org.apache.maven.artifact.DependencyResolutionRequiredExceptionpublic com.google.common.collect.ImmutableMap<File,org.apache.maven.artifact.Artifact> resolveArtifactsForScopes(Set<String> scopes) throws org.apache.maven.artifact.versioning.InvalidVersionSpecificationException, org.apache.maven.artifact.DependencyResolutionRequiredException
org.apache.maven.artifact.versioning.InvalidVersionSpecificationExceptionorg.apache.maven.artifact.DependencyResolutionRequiredExceptionpublic com.google.common.collect.ImmutableSortedSet<ClasspathElement> getClasspathElementsForElements(Collection<File> elements)
Copyright © 2015. All rights reserved.