public class PatternExclusionsDependencyFilter extends AbstractPatternDependencyFilter
PatternExclusionsDependencyFilter that adds support for
classifier attribute.
Format for exclusions is:
[groupId]:[artifactId]:[extension]:[classifier]:[version]
MAVEN_COORDINATES_SEPARATOR, STAR_SYMBOL| Constructor and Description |
|---|
PatternExclusionsDependencyFilter(Collection<String> coordinates)
Creates the filter using the Maven coordinates
|
PatternExclusionsDependencyFilter(String... coordinates)
Creates the filter using the Maven coordinates
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.eclipse.aether.artifact.Artifact artifact)
Checks if the artifact matches for the pattern defined on this filter.
|
accept, equals, hashCodepublic PatternExclusionsDependencyFilter(Collection<String> coordinates)
coordinates - that define the exclusion patternspublic PatternExclusionsDependencyFilter(String... coordinates)
coordinates - that define the exclusion patternspublic boolean accept(org.eclipse.aether.artifact.Artifact artifact)
accept in class AbstractPatternDependencyFilterartifact - Artifact to check if matches with the filter.true if the artifact matches with the pattern defined.Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.