org.apache.maven.lifecycle.internal
Class LifecycleDependencyResolver

java.lang.Object
  extended by 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.


Constructor Summary
LifecycleDependencyResolver()
           
LifecycleDependencyResolver(ProjectDependenciesResolver projectDependenciesResolver, org.codehaus.plexus.logging.Logger logger)
           
 
Method Summary
static List<MavenProject> getProjects(MavenProject project, MavenSession session, boolean aggregator)
           
 void resolveProjectDependencies(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleDependencyResolver

public LifecycleDependencyResolver()

LifecycleDependencyResolver

public LifecycleDependencyResolver(ProjectDependenciesResolver projectDependenciesResolver,
                                   org.codehaus.plexus.logging.Logger logger)
Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.