public final class ExclusionsDependencyFilter extends Object implements org.eclipse.aether.graph.DependencyFilter
Constructor and Description |
---|
ExclusionsDependencyFilter(Collection<String> excludes)
Creates a new filter using the specified exclude patterns.
|
public ExclusionsDependencyFilter(Collection<String> excludes)
groupId:artifactId
(recommended) or just artifactId
(deprecated).excludes
- The exclude patterns, may be null
or empty to exclude no artifacts.public boolean accept(org.eclipse.aether.graph.DependencyNode node, List<org.eclipse.aether.graph.DependencyNode> parents)
accept
in interface org.eclipse.aether.graph.DependencyFilter
Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.