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