Class ExclusionArtifactFilter
java.lang.Object
org.apache.maven.artifact.resolver.filter.ExclusionArtifactFilter
- All Implemented Interfaces:
ArtifactFilter
Filter to exclude from a list of artifact patterns.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Path
createPathProxy
(String value) In order to reuse the glob matcher from the filesystem, we need to create Path instances.boolean
toPredicate
(Exclusion exclusion)
-
Field Details
-
exclusions
-
predicates
-
-
Constructor Details
-
ExclusionArtifactFilter
-
-
Method Details
-
include
- Specified by:
include
in interfaceArtifactFilter
-
toPredicate
-
createPathProxy
In order to reuse the glob matcher from the filesystem, we need to create Path instances. Those are only used with the toString method. This hack works because the only system-dependent thing is the path separator which should not be part of the groupId or artifactId.
-