@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
ProjectDependenciesResolver
resolve
in interface ProjectDependenciesResolver
project
- 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
.ArtifactResolutionException
ArtifactNotFoundException
public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolver
resolve
in interface ProjectDependenciesResolver
project
- 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
.ArtifactResolutionException
ArtifactNotFoundException
public Set<Artifact> resolve(Collection<? extends MavenProject> projects, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolver
resolve
in interface ProjectDependenciesResolver
projects
- 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
.ArtifactResolutionException
ArtifactNotFoundException
public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, Set<Artifact> ignoreableArtifacts) throws ArtifactResolutionException, ArtifactNotFoundException
ProjectDependenciesResolver
resolve
in interface ProjectDependenciesResolver
project
- 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
.ArtifactResolutionException
ArtifactNotFoundException
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.