@Named public class LifecycleDependencyResolver extends Object
Resolves dependencies for the artifacts in context of the lifecycle build
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.Constructor and Description |
---|
LifecycleDependencyResolver(ProjectDependenciesResolver dependenciesResolver,
ProjectArtifactFactory artifactFactory,
EventSpyDispatcher eventSpyDispatcher,
ProjectArtifactsCache projectArtifactsCache) |
Modifier and Type | Method and Description |
---|---|
static List<MavenProject> |
getProjects(MavenProject project,
MavenSession session,
boolean aggregator) |
Set<Artifact> |
resolveProjectArtifacts(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
boolean aggregating,
Set<Artifact> projectArtifacts) |
void |
resolveProjectDependencies(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
boolean aggregating,
Set<Artifact> projectArtifacts) |
@Inject public LifecycleDependencyResolver(ProjectDependenciesResolver dependenciesResolver, ProjectArtifactFactory artifactFactory, EventSpyDispatcher eventSpyDispatcher, ProjectArtifactsCache projectArtifactsCache)
public static List<MavenProject> getProjects(MavenProject project, MavenSession session, boolean aggregator)
public void resolveProjectDependencies(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts) throws LifecycleExecutionException
LifecycleExecutionException
public Set<Artifact> resolveProjectArtifacts(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts) throws LifecycleExecutionException
LifecycleExecutionException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.