Class ConflictResolver.VersionSelector

  • Direct Known Subclasses:
    NearestVersionSelector
    Enclosing class:
    ConflictResolver

    public abstract static class ConflictResolver.VersionSelector
    extends java.lang.Object
    An extension point of ConflictResolver that determines the winner among conflicting dependencies. The winning node (and its children) will be retained in the dependency graph, the other nodes will get removed. The version selector does not need to deal with potential scope conflicts, these will be addressed afterwards by the ConflictResolver.ScopeSelector.

    Note: Implementations must be stateless.