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

    Constructors
    Constructor
    Description
    Create a new instance with the CSV groupId values that should be excluded.
  • Method Summary

    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

    Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter

    isArtifactIncluded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • getArtifactFeature

      protected String getArtifactFeature(org.apache.maven.artifact.Artifact artifact)
      Specified by:
      getArtifactFeature in class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter