code: public void addRemoteRepository(RemoteRepository remoteRepository) {
          if (this.repositoryIds.add(remoteRepository.getId()) ) {
              getRemoteRepositories().add(remoteRepository);
          }
      }
docs: /* (non-Javadoc)
  @see com.tobedevoured.naether.api.Naether#addRemoteRepository(org.sonatype.aether.repository.RemoteRepository)