|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectDependenciesResolver
Method Summary | |
---|---|
Set<Artifact> |
resolve(Collection<? extends MavenProject> projects,
Collection<String> scopes,
MavenSession session)
Resolves the transitive dependencies of the specified projects. |
Set<Artifact> |
resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Resolves the transitive dependencies of the specified project. |
Set<Artifact> |
resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts)
Resolves the transitive dependencies of the specified project. |
Set<Artifact> |
resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Resolves the transitive dependencies of the specified project. |
Method Detail |
---|
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 resolved
null
.
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |