@Test public void testWithoutManifest() throws IOException { Path jarWithoutManifest = jarCreator.createJarWithoutManifest(); List<Artifact> artifacts = makeArtifacts(jarWithoutManifest); resolver.process(artifacts); Assertions.assertThat(artifacts.get(0).getCoordinateForType(Coordinate.Types.P2).isPresent()) .isFalse(); }
@Override public Collection<Artifact> process(Collection<Artifact> artifacts) { LOGGER.debug("Resolve manifest..."); resolveManifest(artifacts); LOGGER.debug("Resolve manifest... done"); return artifacts; }
ManifestResolver extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> artifacts) { LOGGER.debug("Resolve manifest..."); resolveManifest(artifacts); LOGGER.debug("Resolve manifest... done"); return artifacts; } }
ManifestResolver extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> artifacts) { LOGGER.debug("Resolve manifest..."); resolveManifest(artifacts); LOGGER.debug("Resolve manifest... done"); return artifacts; } ManifestResolver(); }
ManifestResolver extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> artifacts) { LOGGER.debug("Resolve manifest..."); resolveManifest(artifacts); LOGGER.debug("Resolve manifest... done"); return artifacts; } ManifestResolver(); @Override void setAntennaContext(AntennaContext context); @Override Collection<Artifact> process(Collection<Artifact> artifacts); }
ManifestResolver extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> artifacts) { LOGGER.debug("Resolve manifest..."); resolveManifest(artifacts); LOGGER.debug("Resolve manifest... done"); return artifacts; } ManifestResolver(); @Override void setAntennaContext(AntennaContext context); @Override Collection<Artifact> process(Collection<Artifact> artifacts);  }