docs: public void addLicenseToArtifact(final String gavc, final String licenseId) {
          final DbArtifact dbArtifact = getArtifact(gavc);
  
          // Don't need to access the DB if the job is already done
          if(dbArtifact.getLicenses().contains(licenseId)){
              return;
          }
  
          final DbLicense dbLicense = repositoryHandler.getLicense(licenseId);
          if(dbLicense == null){
              throw new WebApplicationException(Response.status(Response.Status.NOT_FOUND)
                      .entity("License " + licenseId + " does not exist.").build());
          }
  
          repositoryHandler.addLicenseToArtifact(dbArtifact, dbLicense.getName());
      }