Interface ArtifactFilterManager

All Known Implementing Classes:
DefaultArtifactFilterManager

public interface ArtifactFilterManager
ArtifactFilterManager
  • Method Details

    • getArtifactFilter

      ArtifactFilter getArtifactFilter()
      Deprecated.
      use META-INF/maven/extension.xml to define artifacts exported by Maven core and plugin extensions.
      Returns a filter for core + extension artifacts.
      Returns:
      the artifact filter
    • getCoreArtifactFilter

      ArtifactFilter getCoreArtifactFilter()
      Returns a filter for only the core artifacts.
      Returns:
      the artifact filter
    • excludeArtifact

      void excludeArtifact(String artifactId)
      Deprecated.
      use META-INF/maven/extension.xml to define artifacts exported by Maven core and plugin extensions.
      Exclude an extension artifact (doesn't affect getArtifactFilter's result, only getExtensionArtifactFilter).
      Parameters:
      artifactId - an artifact id
    • getCoreArtifactExcludes

      Set<String> getCoreArtifactExcludes()