@Test public void local() throws Exception { try (InputStream is = resolver.resolve("mvn:junit:junit:4.12:jar")) { Assert.assertNotNull(is); } }
@Override public InputStream resolve(final String url) { try { final String sanitized = sanitize(url); final String repo1Url = quickMvnUrl(sanitized); return resolveStream(repo1Url); } catch (final MalformedURLException e) { throw new IllegalArgumentException(e); } }
MavenResolver implements ArchiveResolver, ProvisioningResolverAware { @Override public InputStream resolve(final String url) { try { final String sanitized = sanitize(url); final String repo1Url = quickMvnUrl(sanitized); return resolveStream(repo1Url); } catch (final MalformedURLException e) { throw new IllegalArgumentException(e); } } }
MavenResolver implements ArchiveResolver, ProvisioningResolverAware { @Override public InputStream resolve(final String url) { try { final String sanitized = sanitize(url); final String repo1Url = quickMvnUrl(sanitized); return resolveStream(repo1Url); } catch (final MalformedURLException e) { throw new IllegalArgumentException(e); } }  }
MavenResolver implements ArchiveResolver, ProvisioningResolverAware { @Override public InputStream resolve(final String url) { try { final String sanitized = sanitize(url); final String repo1Url = quickMvnUrl(sanitized); return resolveStream(repo1Url); } catch (final MalformedURLException e) { throw new IllegalArgumentException(e); } }  @Override String prefix(); @Override InputStream resolve(final String url); @Override String name(final String rawLocation); String quickMvnUrl(final String raw); @Override void setResolver(final ProvisioningResolver resolver); @Override String toString(); }
MavenResolver implements ArchiveResolver, ProvisioningResolverAware { @Override public InputStream resolve(final String url) { try { final String sanitized = sanitize(url); final String repo1Url = quickMvnUrl(sanitized); return resolveStream(repo1Url); } catch (final MalformedURLException e) { throw new IllegalArgumentException(e); } }  @Override String prefix(); @Override InputStream resolve(final String url); @Override String name(final String rawLocation); String quickMvnUrl(final String raw); @Override void setResolver(final ProvisioningResolver resolver); @Override String toString();  }