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
AnArtifactsFilter
that filters by matching groupId. Preferred over theGroupIdFilter
due to that classes use ofString.startsWith(java.lang.String, int)
to match on prefix.- Since:
- 1.1
Constructor Summary
Constructors Constructor Description MatchingGroupIdFilter(String exclude)
Create a new instance with the CSV groupId values that should be excluded.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
Constructor Detail
MatchingGroupIdFilter
public MatchingGroupIdFilter(String exclude)
Create a new instance with the CSV groupId values that should be excluded.- Parameters:
exclude
- the group values to exclude
Method Detail
getArtifactFeature
protected String getArtifactFeature(org.apache.maven.artifact.Artifact artifact)
- Specified by:
getArtifactFeature
in classorg.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter