Package org.apache.maven
Interface ArtifactFilterManager
- All Known Implementing Classes:
DefaultArtifactFilterManager
public interface ArtifactFilterManager
ArtifactFilterManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
excludeArtifact
(String artifactId) Deprecated.Deprecated.useMETA-INF/maven/extension.xml
to define artifacts exported by Maven core and plugin extensions.Returns a filter for only the core artifacts.
-
Method Details
-
getArtifactFilter
ArtifactFilter getArtifactFilter()Deprecated.useMETA-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
Deprecated.useMETA-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
-
META-INF/maven/extension.xml
to define artifacts exported by Maven core and plugin extensions.