org.apache.maven
Class DefaultArtifactFilterManager
java.lang.Object
org.apache.maven.DefaultArtifactFilterManager
- All Implemented Interfaces:
- ArtifactFilterManager
@Component(role=ArtifactFilterManager.class)
public class DefaultArtifactFilterManager
- extends Object
- implements ArtifactFilterManager
- Author:
- Jason van Zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
excludedArtifacts
protected Set<String> excludedArtifacts
DefaultArtifactFilterManager
public DefaultArtifactFilterManager()
createStandardFilter
public static ArtifactFilter createStandardFilter()
- Deprecated. Use this class as a component instead, and then use getArtifactFilter().
getArtifactFilter
public ArtifactFilter getArtifactFilter()
- Returns the artifact filter for the core + extension artifacts.
- Specified by:
getArtifactFilter
in interface ArtifactFilterManager
- See Also:
ArtifactFilterManager.getArtifactFilter()
getCoreArtifactFilter
public ArtifactFilter getCoreArtifactFilter()
- Returns the artifact filter for the standard core artifacts.
- Specified by:
getCoreArtifactFilter
in interface ArtifactFilterManager
- See Also:
org.apache.maven.ArtifactFilterManager#getExtensionDependencyFilter()
excludeArtifact
public void excludeArtifact(String artifactId)
- Description copied from interface:
ArtifactFilterManager
- Exclude an extension artifact (doesn't affect getArtifactFilter's result,
only getExtensionArtifactFilter).
- Specified by:
excludeArtifact
in interface ArtifactFilterManager
getCoreArtifactExcludes
public Set<String> getCoreArtifactExcludes()
- Specified by:
getCoreArtifactExcludes
in interface ArtifactFilterManager
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.