@Deprecated @Component(role=ProjectDependenciesResolver.class) public class DefaultProjectDependenciesResolver extends Object implements ProjectDependenciesResolver
| Constructor and Description |
|---|
DefaultProjectDependenciesResolver()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Artifact> |
resolve(Collection<? extends MavenProject> projects,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified projects.
|
Set<Artifact> |
resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
public DefaultProjectDependenciesResolver()
public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolverresolve in interface ProjectDependenciesResolverproject - The project whose dependencies should be resolved, must not be null.scopesToResolve - The dependency scopes that should be resolved, may be null.session - The current build session, must not be null.null.ArtifactResolutionExceptionArtifactNotFoundExceptionpublic Set<Artifact> resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolverresolve in interface ProjectDependenciesResolverproject - The project whose dependencies should be resolved, must not be null.scopesToCollect - The dependency scopes that should be collected, may be null.scopesToResolve - The dependency scopes that should be collected and also resolved, may be null.session - The current build session, must not be null.null.ArtifactResolutionExceptionArtifactNotFoundExceptionpublic Set<Artifact> resolve(Collection<? extends MavenProject> projects, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolverresolve in interface ProjectDependenciesResolverprojects - The projects whose dependencies should be resolved, may be null.scopesToResolve - The dependency scopes that should be resolved, may be null.session - The current build session, must not be null.null.ArtifactResolutionExceptionArtifactNotFoundExceptionpublic Set<Artifact> resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, Set<Artifact> ignoreableArtifacts) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolverresolve in interface ProjectDependenciesResolverproject - The project whose dependencies should be resolved, must not be null.scopesToCollect - The dependency scopes that should be collected, may be null.scopesToResolve - The dependency scopes that should be collected and also resolved, may be null.session - The current build session, must not be null.ignoreableArtifacts - Artifacts that need not be resolvednull.ArtifactResolutionExceptionArtifactNotFoundExceptionCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.