docs: public void addRemoteRepositoryByUrl(String url, String username, String password) throws URLException {
          RemoteRepository remoteRepo;
          try {
              remoteRepo = RepoBuilder.remoteRepositoryFromUrl(url);
          } catch (MalformedURLException e) {
              throw new URLException(e);
          }
          remoteRepo = remoteRepo.setAuthentication(new Authentication(username, password));
          addRemoteRepository(remoteRepo);
      }