Class ScopeDependencySelector

java.lang.Object
org.eclipse.aether.internal.impl.scope.ScopeDependencySelector
All Implemented Interfaces:
org.eclipse.aether.collection.DependencySelector

public final class ScopeDependencySelector extends Object implements org.eclipse.aether.collection.DependencySelector
A dependency selector that filters transitive dependencies based on their scope. It is configurable from which level applies, as it depend on "as project" and "as dependency" use cases.

Important note: equals/hashCode must factor in starting state, as instances of this class (potentially differentially configured) are used now in session, but are kept in a set.

Note: This filter does not assume any relationships between the scopes. In particular, the filter is not aware of scopes that logically include other scopes.

See Also:
  • Dependency.getScope()