@Deprecated public interface ProjectDependenciesResolver
Modifier and Type | Method and Description |
---|---|
Set<Artifact> |
resolve(Collection<? extends MavenProject> projects,
Collection<String> scopes,
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.
|
Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
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
Set<Artifact> resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
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
Set<Artifact> resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, Set<Artifact> ignoreableArtifacts) throws ArtifactResolutionException, ArtifactNotFoundException
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
Set<Artifact> resolve(Collection<? extends MavenProject> projects, Collection<String> scopes, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException
projects
- The projects whose dependencies should be resolved, may be null
.scopes
- The dependency scopes that should be resolved, may be null
.session
- The current build session, must not be null
.null
.ArtifactResolutionException
ArtifactNotFoundException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.