Class LifecycleDependencyResolver
java.lang.Object
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver
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.- Since:
- 3.0
- Author:
- Benjamin Bentmann, Jason van Zyl, Kristian Rosenvold (extracted class)
-
Constructor Summary
ConstructorDescriptionLifecycleDependencyResolver
(ProjectDependenciesResolver projectDependenciesResolver, org.codehaus.plexus.logging.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
LifecycleDependencyResolver
public LifecycleDependencyResolver() -
LifecycleDependencyResolver
public LifecycleDependencyResolver(ProjectDependenciesResolver projectDependenciesResolver, org.codehaus.plexus.logging.Logger logger)
-
-
Method Details
-
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
-