Class 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
    • Constructor Summary

      Constructors 
      ConstructorDescription
      MatchingGroupIdFilter​(String exclude)
      Create a new instance with the CSV groupId values that should be excluded.
    • 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 class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter