Class DependencyContext
java.lang.Object
org.apache.maven.lifecycle.internal.DependencyContext
Context of dependency artifacts for a particular project.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.- Since:
- 3.0
-
Constructor Summary
ConstructorDescriptionDependencyContext
(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isResolutionRequiredForAggregatedProjects
(Collection<String> scopesToCollect, Collection<String> scopesToResolve) boolean
void
-
Constructor Details
-
DependencyContext
public DependencyContext(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve)
-
-
Method Details
-
getProject
-
getScopesToCollectForCurrentProject
-
getScopesToResolveForCurrentProject
-
getScopesToCollectForAggregatedProjects
-
getScopesToResolveForAggregatedProjects
-
isResolutionRequiredForCurrentProject
public boolean isResolutionRequiredForCurrentProject() -
isResolutionRequiredForAggregatedProjects
public boolean isResolutionRequiredForAggregatedProjects(Collection<String> scopesToCollect, Collection<String> scopesToResolve) -
synchronizeWithProjectState
public void synchronizeWithProjectState()
-