Package org.apache.maven
Class DefaultArtifactFilterManager
java.lang.Object
org.apache.maven.DefaultArtifactFilterManager
- All Implemented Interfaces:
ArtifactFilterManager
@Named
@Singleton
public class DefaultArtifactFilterManager
extends Object
implements ArtifactFilterManager
- Author:
- Jason van Zyl
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefaultArtifactFilterManager
(List<ArtifactFilterManagerDelegate> delegates, CoreExports coreExports) -
Method Summary
Modifier and TypeMethodDescriptionvoid
excludeArtifact
(String artifactId) Exclude an extension artifact (doesn't affect getArtifactFilter's result, only getExtensionArtifactFilter).Returns the artifact filter for the core + extension artifacts.Returns the artifact filter for the standard core artifacts.
-
Field Details
-
delegates
-
excludedArtifacts
-
-
Constructor Details
-
DefaultArtifactFilterManager
@Inject public DefaultArtifactFilterManager(List<ArtifactFilterManagerDelegate> delegates, CoreExports coreExports)
-
-
Method Details
-
getArtifactFilter
Returns the artifact filter for the core + extension artifacts.- Specified by:
getArtifactFilter
in interfaceArtifactFilterManager
- Returns:
- the artifact filter
- See Also:
-
getCoreArtifactFilter
Returns the artifact filter for the standard core artifacts.- Specified by:
getCoreArtifactFilter
in interfaceArtifactFilterManager
- Returns:
- the artifact filter
- See Also:
-
excludeArtifact
Description copied from interface:ArtifactFilterManager
Exclude an extension artifact (doesn't affect getArtifactFilter's result, only getExtensionArtifactFilter).- Specified by:
excludeArtifact
in interfaceArtifactFilterManager
- Parameters:
artifactId
- an artifact id
-
getCoreArtifactExcludes
- Specified by:
getCoreArtifactExcludes
in interfaceArtifactFilterManager
-