public List<String> getRepositories() {
   final List<Repository> repos = pom.getRepositories();
   if (repos == null) return null;
   final List<String> repositories = new ArrayList<String>();
   for (Repository repo : repos) repositories.add(repo.getUrl());
   return repositories;
 }
 private void listRepositories(Model model, List<Resource<?>> children) {
   List<Repository> repositories = model.getRepositories();
   for (Repository repository : repositories) {
     children.add(new MavenRepositoryResourceImpl(getResourceFactory(), getParent(), repository));
   }
 }