def commit_manifest(self, jar):
      if not self._manifest.is_empty():
        jar.writestr(Manifest.PATH, self._manifest.contents())
Updates the manifest in the jar being written to.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/jar_task.py/JarBuilderTask.JarBuilder.commit_manifest