code: public static void storeProperties(ZipOutputStream outZip,
        ZipEntry cadmiumPropertiesEntry, Properties cadmiumProps,
        List<String> newWarNames) throws IOException {
      ZipEntry newCadmiumEntry = new ZipEntry(cadmiumPropertiesEntry.getName());
      outZip.putNextEntry(newCadmiumEntry);
      cadmiumProps.store(outZip,
          "Initial git properties for " + newWarNames.get(0));
      outZip.closeEntry();
    }
docs: Adds a properties file to a war.
  @param outZip The zip output stream to add to.
  @param cadmiumPropertiesEntry The entry to add.
  @param cadmiumProps The properties to store in the zip file.
  @param newWarNames The first element of this list is used in a comment of the properties file.
  @throws IOException