code: private void setFromMetadata(Metadata md) {
          // TODO: add pom.properties support?
          String vendorkey = Attributes.Name.IMPLEMENTATION_VENDOR.toString();
          String versionkey = Attributes.Name.IMPLEMENTATION_VERSION.toString();
          String namekey = Attributes.Name.IMPLEMENTATION_TITLE.toString();
          if (this.vendor.equals(UNKNOWN) && md.containsKey(vendorkey)) {
              this.vendor = md.get(vendorkey);
          }
          if (this.version.equals(UNKNOWN) && md.containsKey(versionkey)) {
              this.version = md.get(versionkey);
          }
          if (this.name.equals(UNKNOWN) && md.containsKey(namekey)) {
              this.name = md.get(namekey);
          }
      }
docs: Processes a given {@link Metadata} object for for Manifest keys to
  determine vendor, version and name.
  
  @param md