in src/main/java/org/apache/maven/ant/tasks/support/SpecificScopesArtifactFilter.java [45:61]
public SpecificScopesArtifactFilter(String scopes) {
String[] scopeList = scopes.split(",");
for (String aScopeList : scopeList) {
if (aScopeList.trim().equals(Artifact.SCOPE_COMPILE)) {
compileScope = true;
} else if (aScopeList.trim().equals(Artifact.SCOPE_PROVIDED)) {
providedScope = true;
} else if (aScopeList.trim().equals(Artifact.SCOPE_RUNTIME)) {
runtimeScope = true;
} else if (aScopeList.trim().equals(Artifact.SCOPE_SYSTEM)) {
systemScope = true;
} else if (aScopeList.trim().equals(Artifact.SCOPE_TEST)) {
testScope = true;
}
}
}