|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.DefaultProjectDependenciesResolver
@Component(role=ProjectDependenciesResolver.class) public class DefaultProjectDependenciesResolver
Constructor Summary | |
---|---|
DefaultProjectDependenciesResolver()
|
Method Summary | |
---|---|
Set<Artifact> |
resolve(Collection<? extends MavenProject> projects,
Collection<String> scopesToResolve,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProjectDependenciesResolver()
Method Detail |
---|
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 resolved
null
.
ArtifactResolutionException
ArtifactNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |