public final class DefaultDependencyManager extends Object implements DependencyManager
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
.
Constructor and Description |
---|
DefaultDependencyManager()
Creates a new dependency manager without any management information.
|
Modifier and Type | Method and Description |
---|---|
DependencyManager |
deriveChildManager(DependencyCollectionContext context) |
boolean |
equals(Object obj) |
int |
hashCode() |
DependencyManagement |
manageDependency(Dependency dependency) |
public DefaultDependencyManager()
public DependencyManager deriveChildManager(DependencyCollectionContext context)
deriveChildManager
in interface DependencyManager
public DependencyManagement manageDependency(Dependency dependency)
manageDependency
in interface DependencyManager
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.