public class SurefireDependencyResolver extends Object
Modifier | Constructor and Description |
---|---|
protected |
SurefireDependencyResolver(ArtifactResolver artifactResolver,
ArtifactFactory artifactFactory,
Log log,
ArtifactRepository localRepository,
List<ArtifactRepository> remoteRepositories,
ArtifactMetadataSource artifactMetadataSource,
String pluginName) |
Modifier and Type | Method and Description |
---|---|
Classpath |
addProviderToClasspath(Map<String,Artifact> pluginArtifactMap,
Artifact surefireArtifact) |
Classpath |
getProviderClasspath(String provider,
String version,
Artifact filteredArtifact) |
boolean |
isWithinVersionSpec(Artifact artifact,
String versionSpec) |
ArtifactResolutionResult |
resolveArtifact(Artifact filteredArtifact,
Artifact providerArtifact) |
protected SurefireDependencyResolver(ArtifactResolver artifactResolver, ArtifactFactory artifactFactory, Log log, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource artifactMetadataSource, String pluginName)
public boolean isWithinVersionSpec(@Nullable Artifact artifact, @Nonnull String versionSpec)
public ArtifactResolutionResult resolveArtifact(@Nullable Artifact filteredArtifact, Artifact providerArtifact) throws ArtifactResolutionException, ArtifactNotFoundException
public Classpath getProviderClasspath(String provider, String version, Artifact filteredArtifact) throws ArtifactNotFoundException, ArtifactResolutionException
public Classpath addProviderToClasspath(Map<String,Artifact> pluginArtifactMap, Artifact surefireArtifact) throws ArtifactResolutionException, ArtifactNotFoundException
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.