Class DefaultDependencyManager

java.lang.Object
org.eclipse.aether.util.graph.manager.DefaultDependencyManager
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyManager

public final class DefaultDependencyManager extends Object implements org.eclipse.aether.collection.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.

Since:
1.4.0
Author:
Christian Schulte
  • Constructor Details

    • DefaultDependencyManager

      Creates a new dependency manager without any management information.
  • Method Details

    • deriveChildManager

      public org.eclipse.aether.collection.DependencyManager deriveChildManager(org.eclipse.aether.collection.DependencyCollectionContext context)
      Specified by:
      deriveChildManager in interface org.eclipse.aether.collection.DependencyManager
    • manageDependency

      public org.eclipse.aether.collection.DependencyManagement manageDependency(org.eclipse.aether.graph.Dependency dependency)
      Specified by:
      manageDependency in interface org.eclipse.aether.collection.DependencyManager
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object