protected void makeCentralPointTo(String url) throws Exception { MavenProxyRepository central = repositoryRegistry.getRepositoryWithFacet("central", MavenProxyRepository.class); // redirect it to our "sppof" jetty (see ReindexTest.xml in src/test/resources.... central.setRemoteUrl(url); // make the central download the remote indexes is found central.setDownloadRemoteIndexes(true); nexusConfiguration.saveConfiguration(); waitForTasksToStop(); }