// filter that filters out classified artifacts
final ClassifierArtifactInfoFilter classifierFilter = new ClassifierArtifactInfoFilter();
// combine it with others if needed (unused in cli, but perm filtering in server!)
if (request.getArtifactInfoFilter() != null) {
final AndMultiArtifactInfoFilter andArtifactFilter =
new AndMultiArtifactInfoFilter(Arrays.asList(new ArtifactInfoFilter[]{
classifierFilter,
request.getArtifactInfoFilter()
}));
sreq.setArtifactInfoFilter(andArtifactFilter);
}