Package org.springframework.boot.maven
Class MatchingGroupIdFilter
java.lang.Object
org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
org.springframework.boot.maven.MatchingGroupIdFilter
- All Implemented Interfaces:
org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter
public class MatchingGroupIdFilter
extends org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
An
ArtifactsFilter
that filters by matching groupId.
Preferred over the
GroupIdFilter
due to that
classes use of String.startsWith(java.lang.String, int)
to match on prefix.- Since:
- 1.1.0
- Author:
- Mark Ingram
-
Constructor Summary
ConstructorsConstructorDescriptionMatchingGroupIdFilter
(String exclude) Create a new instance with the CSV groupId values that should be excluded. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getArtifactFeature
(org.apache.maven.artifact.Artifact artifact) Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
compareFeatures, filter, getExcludes, getIncludes, setExcludes, setIncludes
Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
isArtifactIncluded
-
Constructor Details
-
MatchingGroupIdFilter
Create a new instance with the CSV groupId values that should be excluded.- Parameters:
exclude
- the group values to exclude
-
-
Method Details
-
getArtifactFeature
- Specified by:
getArtifactFeature
in classorg.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
-