@Component(role=ArtifactFilterManager.class) public class DefaultArtifactFilterManager extends Object implements ArtifactFilterManager
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
excludedArtifacts |
Constructor and Description |
---|
DefaultArtifactFilterManager() |
Modifier and Type | Method and Description |
---|---|
static ArtifactFilter |
createStandardFilter()
Deprecated.
Use this class as a component instead, and then use getArtifactFilter().
|
void |
excludeArtifact(String artifactId)
Exclude an extension artifact (doesn't affect getArtifactFilter's result,
only getExtensionArtifactFilter).
|
ArtifactFilter |
getArtifactFilter()
Returns the artifact filter for the core + extension artifacts.
|
Set<String> |
getCoreArtifactExcludes() |
ArtifactFilter |
getCoreArtifactFilter()
Returns the artifact filter for the standard core artifacts.
|
protected Set<String> excludedArtifacts
public DefaultArtifactFilterManager()
public static ArtifactFilter createStandardFilter()
public ArtifactFilter getArtifactFilter()
getArtifactFilter
in interface ArtifactFilterManager
ArtifactFilterManager.getArtifactFilter()
public ArtifactFilter getCoreArtifactFilter()
getCoreArtifactFilter
in interface ArtifactFilterManager
org.apache.maven.ArtifactFilterManager#getExtensionDependencyFilter()
public void excludeArtifact(String artifactId)
ArtifactFilterManager
excludeArtifact
in interface ArtifactFilterManager
public Set<String> getCoreArtifactExcludes()
getCoreArtifactExcludes
in interface ArtifactFilterManager
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.