| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.surefire.SurefireDependencyResolver
public class SurefireDependencyResolver
Does dependency resolution and artifact handling for the surefire plugin.
| Constructor Summary | |
|---|---|
protected  | 
SurefireDependencyResolver(ArtifactResolver artifactResolver,
                           ArtifactFactory artifactFactory,
                           Log log,
                           ArtifactRepository localRepository,
                           List<ArtifactRepository> remoteRepositories,
                           ArtifactMetadataSource artifactMetadataSource,
                           String pluginName)
 | 
| Method Summary | |
|---|---|
 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)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected SurefireDependencyResolver(ArtifactResolver artifactResolver,
                                     ArtifactFactory artifactFactory,
                                     Log log,
                                     ArtifactRepository localRepository,
                                     List<ArtifactRepository> remoteRepositories,
                                     ArtifactMetadataSource artifactMetadataSource,
                                     String pluginName)
| Method Detail | 
|---|
public boolean isWithinVersionSpec(@Nullable
                                   Artifact artifact,
                                   @Nonnull
                                   String versionSpec)
public ArtifactResolutionResult resolveArtifact(@Nullable
                                                Artifact filteredArtifact,
                                                Artifact providerArtifact)
                                         throws ArtifactResolutionException,
                                                ArtifactNotFoundException
ArtifactResolutionException
ArtifactNotFoundException
public Classpath getProviderClasspath(String provider,
                                      String version,
                                      Artifact filteredArtifact)
                               throws ArtifactNotFoundException,
                                      ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolutionException
public Classpath addProviderToClasspath(Map<String,Artifact> pluginArtifactMap,
                                        Artifact surefireArtifact)
                                 throws ArtifactResolutionException,
                                        ArtifactNotFoundException
ArtifactResolutionException
ArtifactNotFoundException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||