public final class ArtifactMatcher extends Object
BanTransitiveDependencies
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactMatcher.Pattern |
Constructor and Description |
---|
ArtifactMatcher(Collection<String> patterns,
Collection<String> ignorePatterns)
Construct class by providing patterns as strings.
|
public ArtifactMatcher(Collection<String> patterns, Collection<String> ignorePatterns)
NullPointerException
- if any of the arguments is nullpublic boolean match(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.