<?xml version="1.0" encoding="ISO-8859-1" ?>
<Instructions version="1">
  <!-- Expected variables -->
  <!-- lib.dir -->

  <ForFiles pattern="*.jar" dir="{lib.dir}" recursive="no">
    <ReportBlock label="{_FILENAME_}" type="jarManifest">
      <SettingsFile type="manifest" name="{_ABSFILENAME_}/META-INF/MANIFEST.MF">
        <Set name="elementsToReport" value="Specification-Title,Specification-Version,Specification-Vendor,Implementation-Title,Implementation-Version,Implementation-Vendor"/>
        <ReportBlock label="DEFAULT" type="jarManifestSection">
          <ForEach name="name" values="{elementsToReport}">
            <ReportValue label="{name}" element="{name}"/>
          </ForEach>
        </ReportBlock>

        <SetFrom name="sections" element="[*]"/>
        <ReportVariable name="sections"/>
        <ForEach name="section" values="{sections}">
          <ReportBlock label="{section}" type="jarManifestSection">
            <ForEach name="name" values="{elementsToReport}">
              <ReportValue label="{name}" element="[{section}]/{name}"/>
            </ForEach>
          </ReportBlock>
        </ForEach>
      </SettingsFile>
    </ReportBlock>
  </ForFiles>
</Instructions>