@Test public void testFilteringZip() { Artifact artifact = new DefaultArtifact("test:dummy:zip:1.0.0", ImmutableMap.of("type", "zip")); Dependency dependency = new Dependency(artifact, "compile"); assertFalse(selector.selectDependency(dependency)); }
@Override public boolean selectDependency(Dependency dependency) { Artifact artifact = dependency.getArtifact(); Map<String, String> properties = artifact.getProperties(); return !"zip".equals(properties.get("type")); }
FilteringZipDependencySelector implements DependencySelector { @Override public boolean selectDependency(Dependency dependency) { Artifact artifact = dependency.getArtifact(); Map<String, String> properties = artifact.getProperties(); return !"zip".equals(properties.get("type")); } }
FilteringZipDependencySelector implements DependencySelector { @Override public boolean selectDependency(Dependency dependency) { Artifact artifact = dependency.getArtifact(); Map<String, String> properties = artifact.getProperties(); return !"zip".equals(properties.get("type")); }  }
FilteringZipDependencySelector implements DependencySelector { @Override public boolean selectDependency(Dependency dependency) { Artifact artifact = dependency.getArtifact(); Map<String, String> properties = artifact.getProperties(); return !"zip".equals(properties.get("type")); }  @Override boolean selectDependency(Dependency dependency); @Override DependencySelector deriveChildSelector(
      DependencyCollectionContext dependencyCollectionContext); }
FilteringZipDependencySelector implements DependencySelector { @Override public boolean selectDependency(Dependency dependency) { Artifact artifact = dependency.getArtifact(); Map<String, String> properties = artifact.getProperties(); return !"zip".equals(properties.get("type")); }  @Override boolean selectDependency(Dependency dependency); @Override DependencySelector deriveChildSelector(
      DependencyCollectionContext dependencyCollectionContext);  }