Class DefaultDependencyManager

  • All Implemented Interfaces:
    org.eclipse.aether.collection.DependencyManager

    public final class DefaultDependencyManager
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      DefaultDependencyManager()
      Creates a new dependency manager without any management information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.aether.collection.DependencyManager deriveChildManager​(org.eclipse.aether.collection.DependencyCollectionContext context)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      org.eclipse.aether.collection.DependencyManagement manageDependency​(org.eclipse.aether.graph.Dependency dependency)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDependencyManager

        public DefaultDependencyManager()
        Creates a new dependency manager without any management information.
    • Method Detail

      • 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​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object