boolean (DependencyNode node) { Dependency dep = node.getDependency(); if (dep != null) { Artifact artifact = dep.getArtifact(); String classifier = myKind.getClassifier(); if (classifier.isEmpty()) { myRequests.add(new ArtifactRequest(node)); } else { myRequests.add(new ArtifactRequest(new ArtifactWithChangedClassifier(artifact, classifier), node.getRepositories(), node.getRequestContext() )); } } return true; }