Class SpecificScopesArtifactFilter
java.lang.Object
org.apache.maven.ant.tasks.support.SpecificScopesArtifactFilter
- All Implemented Interfaces:
org.apache.maven.artifact.resolver.filter.ArtifactFilter
public class SpecificScopesArtifactFilter
extends Object
implements org.apache.maven.artifact.resolver.filter.ArtifactFilter
Filter to only retain objects in the given scope(s).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
private boolean
private boolean
-
Constructor Summary
ConstructorsConstructorDescriptionSpecificScopesArtifactFilter
(String scopes) Takes a comma separated list of scopes to include. -
Method Summary
-
Field Details
-
compileScope
private boolean compileScope -
runtimeScope
private boolean runtimeScope -
testScope
private boolean testScope -
providedScope
private boolean providedScope -
systemScope
private boolean systemScope
-
-
Constructor Details
-
SpecificScopesArtifactFilter
Takes a comma separated list of scopes to include.- Parameters:
scopes
- A comma separated list of scopes
-
-
Method Details
-
include
public boolean include(org.apache.maven.artifact.Artifact artifact) - Specified by:
include
in interfaceorg.apache.maven.artifact.resolver.filter.ArtifactFilter
-