org.apache.maven.lifecycle.internal
Class LifecycleDependencyResolver
java.lang.Object
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver
@Component(role=LifecycleDependencyResolver.class)
public class LifecycleDependencyResolver
- extends Object
Resolves dependencies for the artifacts in context of the lifecycle build
- Since:
- 3.0
- Author:
- Benjamin Bentmann, Jason van Zyl, Kristian Rosenvold (extracted class)
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleDependencyResolver
public LifecycleDependencyResolver()
LifecycleDependencyResolver
public LifecycleDependencyResolver(ProjectDependenciesResolver projectDependenciesResolver,
Logger logger)
getProjects
public static List<MavenProject> getProjects(MavenProject project,
MavenSession session,
boolean aggregator)
resolveProjectDependencies
public void resolveProjectDependencies(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
boolean aggregating,
Set<Artifact> projectArtifacts)
throws LifecycleExecutionException
- Throws:
LifecycleExecutionException
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.