Class DefaultDependencyManager
java.lang.Object
org.eclipse.aether.util.graph.manager.AbstractDependencyManager
org.eclipse.aether.util.graph.manager.DefaultDependencyManager
- All Implemented Interfaces:
DependencyManager
A dependency manager managing dependencies on all levels supporting transitive dependency management.
Note:Unlike the ClassicDependencyManager
and the TransitiveDependencyManager
this
implementation applies management also on the first level. This is considered the resolver's default behaviour.
It ignores all management overrides supported by the MavenModelBuilder
.
This manager has deriveUntil=Integer.MAX_VALUE
and applyFrom=0
.
- Since:
- 1.4.0
- Author:
- Christian Schulte
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.aether.util.graph.manager.AbstractDependencyManager
AbstractDependencyManager.Holder<T>, AbstractDependencyManager.Key
-
Field Summary
Fields inherited from class org.eclipse.aether.util.graph.manager.AbstractDependencyManager
applyFrom, depth, deriveUntil, managedExclusions, managedLocalPaths, managedOptionals, managedScopes, managedVersions, systemDependencyScope
-
Constructor Summary
ConstructorDescriptionDeprecated.Use constructor that provides consumer application specific predicate.DefaultDependencyManager
(ScopeManager scopeManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected DependencyManager
newInstance
(Map<Object, AbstractDependencyManager.Holder<String>> managedVersions, Map<Object, AbstractDependencyManager.Holder<String>> managedScopes, Map<Object, AbstractDependencyManager.Holder<Boolean>> managedOptionals, Map<Object, AbstractDependencyManager.Holder<String>> managedLocalPaths, Map<Object, Collection<AbstractDependencyManager.Holder<Collection<Exclusion>>>> managedExclusions) Methods inherited from class org.eclipse.aether.util.graph.manager.AbstractDependencyManager
deriveChildManager, equals, hashCode, isApplicable, isApplied, isDerived, manageDependency
-
Constructor Details
-
DefaultDependencyManager
Deprecated.Use constructor that provides consumer application specific predicate.Creates a new dependency manager without any management information. -
DefaultDependencyManager
-
-
Method Details
-
newInstance
protected DependencyManager newInstance(Map<Object, AbstractDependencyManager.Holder<String>> managedVersions, Map<Object, AbstractDependencyManager.Holder<String>> managedScopes, Map<Object, AbstractDependencyManager.Holder<Boolean>> managedOptionals, Map<Object, AbstractDependencyManager.Holder<String>> managedLocalPaths, Map<Object, Collection<AbstractDependencyManager.Holder<Collection<Exclusion>>>> managedExclusions) - Specified by:
newInstance
in classAbstractDependencyManager
-