public abstract class AbstractStrictPatternArtifactFilter
extends java.lang.Object
implements org.apache.maven.artifact.resolver.filter.ArtifactFilter
[groupId]:[artifactId]:[type]:[version]
Where each pattern segment is optional and supports full and partial * wildcards. An empty pattern
segment is treated as an implicit wildcard.
For example, org.apache.* would match all artifacts whose group id started with
org.apache., and :::*-SNAPSHOT would match all snapshot artifacts.
| Constructor and Description |
|---|
AbstractStrictPatternArtifactFilter(java.util.List patterns,
boolean include)
Creates a new filter that matches the specified artifact patterns and includes or excludes them according to the
specified flag.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
include(org.apache.maven.artifact.Artifact artifact) |
public AbstractStrictPatternArtifactFilter(java.util.List patterns,
boolean include)
patterns - the list of artifact patterns to match, as described aboveinclude - true to include artifacts that match the patterns, or false to exclude
themCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.