@Test public void testFilteringNonZip() { Artifact artifact = new DefaultArtifact("test", "dummy", "jar", "1.0.0"); Dependency dependency = new Dependency(artifact, "compile"); assertTrue(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);  }