<?xml version="1.0" ?>

<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<tasks xmlns="urn:wildfly:wildfly-feature-pack-tasks:3.1">
    <delete path="docs/licenses/licenses.html"/>
    <xml-merge basedir="docs/licenses" output="docs/licenses/licenses.xml">
        <filter pattern="*-licenses.xml" include="true"/>
    </xml-merge>
    <transform stylesheet="docs/licenses/licenses.xsl" src="docs/licenses/licenses.xml" output="docs/licenses/licenses.html" phase="FINALIZING" feature-pack-properties="true"/>
    <line-endings phase="FINALIZING">
      <unix>
        <filter pattern="docs?licenses?licenses.html" include="true"/>
        <filter pattern="docs?licenses?licenses.xml" include="true"/>
      </unix>
    </line-endings>
</tasks>
