docs: public synchronized Repository getRepository() throws ResourceException {
          if (this.repository == null) {
              LOGGER.debug("Deploying repository URL [{0}]", repositoryURL);
              this.repository = deployRepository(repositoryURL);
          }
          return this.repository;
      }