}
if (!hasCentral)
{
RemoteRepository central = convertToMavenRepo(new DependencyRepositoryImpl(KnownRepository.CENTRAL.getId(),
KnownRepository.CENTRAL.getUrl()));
central.setPolicy(true, new RepositoryPolicy().setEnabled(false));
remoteRepos.add(central);
}
return remoteRepos;
}