code: public URI buildJar() {
          if (option.getName() == null) {
              option.name(UUID.randomUUID().toString());
          }
          try {
              File explodedJarDir = getExplodedJarDir();
              File probeJar = new File(tempDir, option.getName() + ".jar");
              ZipBuilder builder = new ZipBuilder(probeJar);
              builder.addDirectory(explodedJarDir, "");
              builder.close();
              URI warUri = probeJar.toURI();
              LOG.info("JAR probe = {}", warUri);
              return warUri;
          }
          catch (IOException exc) {
              throw new TestContainerException(exc);
          }
      }
docs: Builds a JAR from the given option.
  
  @return file URI referencing the JAR in a temporary directory