public boolean include()

in src/main/java/org/apache/maven/ant/tasks/support/SpecificScopesArtifactFilter.java [65:79]


    public boolean include(Artifact artifact) {
        if (Artifact.SCOPE_COMPILE.equals(artifact.getScope())) {
            return compileScope;
        } else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) {
            return runtimeScope;
        } else if (Artifact.SCOPE_TEST.equals(artifact.getScope())) {
            return testScope;
        } else if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) {
            return providedScope;
        } else if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
            return systemScope;
        } else {
            return true;
        }
    }