@Test public void remoteMaven() { final Set<String> urls = ProvisioningUtil.realLocation("mvn:com.google.guava:guava-io:r03"); assertEquals(1, urls.size()); assertTrue(urls.iterator().next().replace("\\", "/").endsWith("target/guava-io-r03.jar")); }
public static Set<String> realLocation(final String location) { final boolean initialized = SystemInstance.isInitialized(); if (!initialized) { if (DEFAULT_PROVISIONING_RESOLVER == null) { synchronized (ProvisioningUtil.class) { if (DEFAULT_PROVISIONING_RESOLVER == null) { DEFAULT_PROVISIONING_RESOLVER = new ProvisioningResolver(); } } } return DEFAULT_PROVISIONING_RESOLVER.realLocation(location); } return SystemInstance.get().getComponent(ProvisioningResolver.class).realLocation(location); }
ProvisioningUtil { public static Set<String> realLocation(final String location) { final boolean initialized = SystemInstance.isInitialized(); if (!initialized) { if (DEFAULT_PROVISIONING_RESOLVER == null) { synchronized (ProvisioningUtil.class) { if (DEFAULT_PROVISIONING_RESOLVER == null) { DEFAULT_PROVISIONING_RESOLVER = new ProvisioningResolver(); } } } return DEFAULT_PROVISIONING_RESOLVER.realLocation(location); } return SystemInstance.get().getComponent(ProvisioningResolver.class).realLocation(location); } }
ProvisioningUtil { public static Set<String> realLocation(final String location) { final boolean initialized = SystemInstance.isInitialized(); if (!initialized) { if (DEFAULT_PROVISIONING_RESOLVER == null) { synchronized (ProvisioningUtil.class) { if (DEFAULT_PROVISIONING_RESOLVER == null) { DEFAULT_PROVISIONING_RESOLVER = new ProvisioningResolver(); } } } return DEFAULT_PROVISIONING_RESOLVER.realLocation(location); } return SystemInstance.get().getComponent(ProvisioningResolver.class).realLocation(location); } private  ProvisioningUtil(); }
ProvisioningUtil { public static Set<String> realLocation(final String location) { final boolean initialized = SystemInstance.isInitialized(); if (!initialized) { if (DEFAULT_PROVISIONING_RESOLVER == null) { synchronized (ProvisioningUtil.class) { if (DEFAULT_PROVISIONING_RESOLVER == null) { DEFAULT_PROVISIONING_RESOLVER = new ProvisioningResolver(); } } } return DEFAULT_PROVISIONING_RESOLVER.realLocation(location); } return SystemInstance.get().getComponent(ProvisioningResolver.class).realLocation(location); } private  ProvisioningUtil(); static Collection<File> addAdditionalLibraries(); static Set<String> realLocation(final String location); }
ProvisioningUtil { public static Set<String> realLocation(final String location) { final boolean initialized = SystemInstance.isInitialized(); if (!initialized) { if (DEFAULT_PROVISIONING_RESOLVER == null) { synchronized (ProvisioningUtil.class) { if (DEFAULT_PROVISIONING_RESOLVER == null) { DEFAULT_PROVISIONING_RESOLVER = new ProvisioningResolver(); } } } return DEFAULT_PROVISIONING_RESOLVER.realLocation(location); } return SystemInstance.get().getComponent(ProvisioningResolver.class).realLocation(location); } private  ProvisioningUtil(); static Collection<File> addAdditionalLibraries(); static Set<String> realLocation(final String location);  }